From ad78b87aa4548165378bd3a7a2f023662005ee2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bart=C5=82omiej=20Piotrowski?= Date: Tue, 18 Mar 2014 18:13:19 +0100 Subject: testing/zram-init: new aport --- testing/zram-init/APKBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 testing/zram-init/APKBUILD diff --git a/testing/zram-init/APKBUILD b/testing/zram-init/APKBUILD new file mode 100644 index 0000000000..2c448d09db --- /dev/null +++ b/testing/zram-init/APKBUILD @@ -0,0 +1,29 @@ +# Maintainer: +# Contributor: Bartłomiej Piotrowski + +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" -- cgit v1.2.3