diff --git a/srcpkgs/netbsd-wtf/template b/srcpkgs/netbsd-wtf/template index 1e874701cd..d2a01f34ef 100644 --- a/srcpkgs/netbsd-wtf/template +++ b/srcpkgs/netbsd-wtf/template @@ -1,23 +1,22 @@ # Template file for 'netbsd-wtf' pkgname=netbsd-wtf -version=20150223 +reverts=20150223_1 +version=20131125 revision=1 +_commit=678eae8b35998045af4b99bc8b10f3e7cd9cc826 noarch=yes build_style=gnu-makefile -hostmakedepends="git" make_build_args="DATADIR=/usr/share" make_install_args="PREFIX=/usr DATADIR=/usr/share" short_desc="The NetBSD's wtf(6) utility" maintainer="Juan RP " license="Public domain" homepage="http://www.NetBSD.org" -checksum=8773541ce097fdc4c5b9e7da12a82dffbb30cd91f7bc169f52f05f93b7fc3060 +distfiles="https://github.com/voidlinux/netbsd-wtf/archive/$_commit.tar.gz" +checksum=2283a4c9e73993daa6a3b4a598ec704196e1ee9914f1e36e95241ecd5c6c6508 + +wrksrc="$pkgname-$_commit" -do_fetch() { - local url="git://github.com/voidlinux/netbsd-wtf" - msg_normal " Fetching source from $url ...\n" - git clone ${url} ${pkgname}-${version} -} post_install() { mv ${DESTDIR}/usr/bin/{wtf,$pkgname} mv ${DESTDIR}/usr/share/man/man6/{wtf,$pkgname}.6