diff --git a/srcpkgs/runit-swap/template b/srcpkgs/runit-swap/template index 5dec529d31..0bd9ab7148 100644 --- a/srcpkgs/runit-swap/template +++ b/srcpkgs/runit-swap/template @@ -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