New package: zramen-0.2.0
This commit is contained in:
parent
4c2d9dc1b2
commit
7b33cba031
|
@ -0,0 +1,25 @@
|
|||
# Template file for 'zramen'
|
||||
pkgname=zramen
|
||||
version=0.2.0
|
||||
revision=1
|
||||
noarch=yes
|
||||
depends="virtual?awk bash bc coreutils grep kmod util-linux"
|
||||
short_desc="Manage zram swap space"
|
||||
maintainer="Andy Weidenbaum <archbaum@gmail.com>"
|
||||
license="Unlicense"
|
||||
homepage="https://github.com/atweiden/zramen"
|
||||
distfiles="https://github.com/atweiden/zramen/releases/download/${version}/${pkgname}-${version}.tar.gz"
|
||||
checksum=4220aa5207e93a60536b2d4a62fcae34b1a9d062c514dc21811c95d0293f7dfe
|
||||
conf_files="/etc/sv/zramen/conf"
|
||||
|
||||
do_install() {
|
||||
vbin zramen
|
||||
vlicense UNLICENSE
|
||||
vdoc README.md
|
||||
vmkdir etc/sv
|
||||
vcopy sv/zramen etc/sv
|
||||
chmod 644 "${PKGDESTDIR}/etc/sv/zramen/conf"
|
||||
chmod 755 "${PKGDESTDIR}/etc/sv/zramen/finish"
|
||||
chmod 755 "${PKGDESTDIR}/etc/sv/zramen/run"
|
||||
ln -s /run/runit/supervise.zramen "${PKGDESTDIR}/etc/sv/zramen/supervise"
|
||||
}
|
Loading…
Reference in New Issue