runit-swap: fix #2070

This commit is contained in:
Andrea Brancaleoni 2015-07-25 20:21:11 +02:00
parent 2249b8dd4a
commit 6d5dadd88c
1 changed files with 3 additions and 7 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'runit-swap'
pkgname=runit-swap
version=1.2.0
revision=1
revision=2
build_style=meta
depends="runit bash util-linux>=2.26"
hostmakedepends="git"
@ -11,12 +11,8 @@ license="GPL-3"
homepage="https://github.com/thypon/runit-swap"
conf_files="/etc/runit-swap.conf"
noarch=yes
do_fetch() {
local url="git://github.com/thypon/runit-swap"
msg_normal "Fetching source from $url ...\n"
git clone --branch v${version} ${url} ${pkgname}-${version}
}
distfiles="$homepage/archive/v$version.tar.gz"
checksum=24e5d7424fb7d195bcc10605353f9c24acec5a42e64a8409ae20ab839cccbda6
do_install() {
vbin runit-swap.sh