void-packages/srcpkgs/netbsd-wtf/template

29 lines
940 B
Text

# Template file for 'netbsd-wtf'
pkgname=netbsd-wtf
version=20130128
revision=1
build_style=gnu-makefile
make_build_args="DATADIR=/usr/share"
make_install_args="PREFIX=/usr DATADIR=/usr/share"
short_desc="NetBSD's wtf(6) adapted for Void Linux"
maintainer="Juan RP <xtraeme@gmail.com>"
license="Public domain"
homepage="http://www.NetBSD.org"
checksum=8773541ce097fdc4c5b9e7da12a82dffbb30cd91f7bc169f52f05f93b7fc3060
long_desc="
The wtf utility displays the expansion of the acronyms specified on the
command line. If the acronym is not in any of the acronyms databases,
wtf will check to see if the acronym is known by whatis(1), xbps-bin(8),
or xbps-repo(8) show commands."
nofetch=yes
noextract=yes
noarch=yes
makedepends="git"
do_fetch() {
local url="git://github.com/voidlinux/netbsd-wtf"
msg_normal " Fetching source from $url ...\n"
git clone ${url} ${pkgname}-${version}
cd ${pkgname}-${version} && git checkout 5888f8b
}