diff options
author | Pedro Filipe <xpecex@outlook.com> | 2018-09-12 02:09:59 -0300 |
---|---|---|
committer | Andy Postnikov <apostnikov@gmail.com> | 2018-11-05 00:36:21 +0200 |
commit | fb1c24b95ab0efd892956446ef060b6e2679df14 (patch) | |
tree | 3552ab453a6ca00713dd96499dfb7c9cbf17fc90 /community/zram-init/APKBUILD | |
parent | f93f72351d84970f56eeb5fcef8d9b7004ef6f28 (diff) | |
download | aports-fb1c24b95ab0efd892956446ef060b6e2679df14.tar.bz2 aports-fb1c24b95ab0efd892956446ef060b6e2679df14.tar.xz |
community/zram-init: upgrade to 8.0 and add openrc subpackage
Diffstat (limited to 'community/zram-init/APKBUILD')
-rw-r--r-- | community/zram-init/APKBUILD | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/community/zram-init/APKBUILD b/community/zram-init/APKBUILD index 39b216f64b..322beaf8d1 100644 --- a/community/zram-init/APKBUILD +++ b/community/zram-init/APKBUILD @@ -1,25 +1,24 @@ # Maintainer: Stuart Cardall <developer@it-offshore.co.uk> # Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org> +# Contributor: Pedro Filipe <xpecex@outlook.com> pkgname=zram-init -pkgver=3.8.1 +pkgver=8.0 pkgrel=0 pkgdesc="wrapper script for the zram kernel module" arch="noarch" url="https://github.com/vaeth/zram-init" license="GPL-2.0" depends="e2fsprogs-extra" -subpackages="$pkgname-zsh-completion:zshcomp" -source="$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz" +subpackages="$pkgname-zsh-completion:zshcomp $pkgname-openrc" +source="$pkgname-$pkgver.tar.gz::https://github.com/vaeth/zram-init/archive/v$pkgver.tar.gz" builddir="$srcdir/$pkgname-$pkgver" - -build() { - return 0 -} +options="!check" 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 } @@ -33,6 +32,4 @@ zshcomp() { "$subpkgdir"/usr/share/zsh/site-functions/_$pkgname } -md5sums="43589ffca32bd70c3e0886627d14fe48 zram-init-3.8.1.tar.gz" -sha256sums="fd518f84eadf65a316f7b33a0d3516efa781c24739d5f9fa1737dafcfad2dddb zram-init-3.8.1.tar.gz" -sha512sums="cf01cfd80ef40df4762a8028b9094b54e9f7e39c7cc09c92ab2a2ffeb18ed9a65472bb06e731c547fbbbf8cc62984f40e2314720e9323b4fb775ddef001333ae zram-init-3.8.1.tar.gz" +sha512sums="d8efb796f14482b389db940fda1cc2d3869fa139bb3d60d282fb4bfa9ee6f7adb93801c6e22860bf1eb1a2b1c4715681418f916ae7a96c1fe58ef003365eed34 zram-init-8.0.tar.gz" |