diff options
-rw-r--r-- | testing/zram-init/APKBUILD | 34 |
1 files changed, 16 insertions, 18 deletions
diff --git a/testing/zram-init/APKBUILD b/testing/zram-init/APKBUILD index 50ca8d43e4..ca08205aa1 100644 --- a/testing/zram-init/APKBUILD +++ b/testing/zram-init/APKBUILD @@ -1,39 +1,37 @@ # Maintainer: Stuart Cardall <developer@it-offshore.co.uk> # Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org> - pkgname=zram-init pkgver=3.5 pkgrel=0 -pkgdesc='wrapper script for the zram kernel module' -arch=noarch -url='https://github.com/vaeth/zram-init' -license='GPL2' +pkgdesc="wrapper script for the zram kernel module" +arch="noarch" +url="https://github.com/vaeth/zram-init" +license="GPL2" depends="e2fsprogs-extra" subpackages="$pkgname-zsh-completion:zshcomp" source="$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz" _builddir="$srcdir/$pkgname-$pkgver" - build() { - true + return 0 } 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 + 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 } zshcomp() { - depends="" - pkgdesc="Zsh completions for $pkgname" - install_if="$pkgname=$pkgver-r$pkgrel zsh" - arch="noarch" + depends="" + pkgdesc="Zsh completions for $pkgname" + install_if="$pkgname=$pkgver-r$pkgrel zsh" + arch="noarch" - install -Dm644 "$_builddir"/zsh/_$pkgname \ - "$subpkgdir"/usr/share/zsh/site-functions/_$pkgname + install -Dm644 "$_builddir"/zsh/_$pkgname \ + "$subpkgdir"/usr/share/zsh/site-functions/_$pkgname } md5sums="228dd3901e4b8def156bcb01d1ba90de zram-init-3.5.tar.gz" |