mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-08 10:12:59 +01:00
30 lines
941 B
Plaintext
30 lines
941 B
Plaintext
# Maintainer:
|
|
# Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org>
|
|
|
|
pkgname=zram-init
|
|
pkgver=2.7
|
|
pkgrel=0
|
|
pkgdesc='rapper script for the zram kernel module'
|
|
arch=noarch
|
|
url='http://github.com/vaeth/zram-init'
|
|
license='GPL2'
|
|
source="$url/archive/2.7.tar.gz"
|
|
|
|
_builddir="$srcdir/$pkgname-$pkgver"
|
|
|
|
build() {
|
|
true
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
install -Dm644 modprobe.d/zram.conf "$pkgdir"/etc/modprobe.d/zram.conf
|
|
install -Dm755 sbin/zram-init "$pkgdir"/usr/sbin/zram-init
|
|
install -Dm644 openrc/conf.d/zram-init "$pkgdir"/etc/conf.d/zram-init
|
|
install -Dm755 openrc/init.d/zram-init "$pkgdir"/etc/init.d/zram-init
|
|
}
|
|
|
|
md5sums="6e12160b0597181c88150961fd37c53b 2.7.tar.gz"
|
|
sha256sums="205765243bd36bf62c471363c4fddf8173275d37f5f919716b5b71afea0fe94d 2.7.tar.gz"
|
|
sha512sums="db8dc5580b8405752d58996e5927573b687795b598c94948ccc51d038f7c7dfc47b64651d9554c1807d8f6453498c3f1efe6f2d34b82eb6b1df2d8f7e84980a5 2.7.tar.gz"
|