runit-swap: update to 1.1.0

This commit is contained in:
Andrea Brancaleoni 2015-02-22 18:21:47 +01:00
parent a99b39ad81
commit 065e016993

View file

@ -1,14 +1,15 @@
# Template file for 'runit-swap'
pkgname=runit-swap
version=1.0.0
version=1.1.0
revision=1
build_style=meta
depends="runit util-linux>=2.26"
depends="runit bash util-linux>=2.26"
hostmakedepends="git"
short_desc="Script to manage swapspaces"
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
license="GPL"
homepage="https://github.com/thypon/runit-swap"
conf_files="/etc/runit-swap.conf"
do_fetch() {
local url="git://github.com/thypon/runit-swap"
@ -17,9 +18,9 @@ do_fetch() {
}
do_install() {
vinstall runit-swap.sh 744 usr/sbin
vinstall runit-swap.sh 755 usr/sbin
vconf runit-swap.conf
vinstall swap/run 744 etc/sv/swap
vinstall swap/finish 744 etc/sv/swap
vinstall 90-runit-swap.conf 644 etc/modprobe.d/
vinstall swap/run 755 etc/sv/runit-swap
vinstall swap/finish 755 etc/sv/runit-swap
vinstall 90-runit-swap.conf 644 usr/lib/modprobe.d
}