24 lines
701 B
Text
24 lines
701 B
Text
# Template file for 'netbsd-wtf'
|
|
pkgname=netbsd-wtf
|
|
version=20150223
|
|
revision=1
|
|
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@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}
|
|
}
|
|
post_install() {
|
|
mv ${DESTDIR}/usr/bin/{wtf,$pkgname}
|
|
mv ${DESTDIR}/usr/share/man/man6/{wtf,$pkgname}.6
|
|
}
|