netbsd-wtf: update to 20131125.

This commit is contained in:
Andrea Brancaleoni 2015-07-27 01:21:58 +02:00
parent d9b2912b6a
commit b8eddf6cd4
1 changed files with 7 additions and 8 deletions

View File

@ -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 <xtraeme@voidlinux.eu>"
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