# Template file for 'netbsd-wtf'
pkgname=netbsd-wtf
version="$(date -u +%Y%m%d)"
revision=1
build_style=gnu-makefile
make_build_args="DATADIR=/usr/share"
make_install_args="PREFIX=/usr DATADIR=/usr/share"
makedepends="git"
nofetch=yes
noextract=yes
noarch=yes
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."

do_fetch() {
	local url="git://github.com/voidlinux/netbsd-wtf"
	msg_normal " Fetching source from $url ...\n"
	git clone ${url} ${pkgname}-${version}
}
