aboutsummaryrefslogtreecommitdiffstats
path: root/testing/zram-init/APKBUILD
blob: 2c448d09db00a7e9ae09c1f4bfa6c2db9b88db62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# 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"