2012-06-20 10:19:47 +00:00
|
|
|
# Template file for 'netbsd-wtf'
|
|
|
|
pkgname=netbsd-wtf
|
2015-02-23 11:05:27 +00:00
|
|
|
version=20150223
|
2012-11-24 05:53:23 +00:00
|
|
|
revision=1
|
2014-02-21 14:55:14 +00:00
|
|
|
noarch=yes
|
2012-06-20 10:19:47 +00:00
|
|
|
build_style=gnu-makefile
|
2014-07-27 14:05:16 +00:00
|
|
|
hostmakedepends="git"
|
2012-06-20 10:19:47 +00:00
|
|
|
make_build_args="DATADIR=/usr/share"
|
|
|
|
make_install_args="PREFIX=/usr DATADIR=/usr/share"
|
2013-11-25 17:07:14 +00:00
|
|
|
short_desc="The NetBSD's wtf(6) utility"
|
2012-06-20 10:19:47 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="Public domain"
|
|
|
|
homepage="http://www.NetBSD.org"
|
|
|
|
checksum=8773541ce097fdc4c5b9e7da12a82dffbb30cd91f7bc169f52f05f93b7fc3060
|
|
|
|
|
|
|
|
do_fetch() {
|
|
|
|
local url="git://github.com/voidlinux/netbsd-wtf"
|
|
|
|
msg_normal " Fetching source from $url ...\n"
|
|
|
|
git clone ${url} ${pkgname}-${version}
|
|
|
|
}
|
2015-02-23 11:05:27 +00:00
|
|
|
post_install() {
|
|
|
|
mv ${DESTDIR}/usr/bin/{wtf,$pkgname}
|
|
|
|
mv ${DESTDIR}/usr/share/man/man6/{wtf,$pkgname}.6
|
|
|
|
}
|