# Template file for 'netbsd-wtf'
pkgname=netbsd-wtf
version=20180621
revision=3
_commit=b1e5be48e340146f63b174cc14fef892a783168b
build_style=gnu-makefile
short_desc="NetBSD's wtf(6) utility"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Public Domain"
homepage="https://www.netbsd.org"
distfiles="https://github.com/void-linux/netbsd-wtf/archive/$_commit.tar.gz"
checksum=5da7c6c286673baa8cc0ce2840c16895eef3e884e038a6cb7dedabdd15753de7

wrksrc="$pkgname-$_commit"
make_build_args="PREFIX=/usr"

post_install() {
	mv ${DESTDIR}/usr/bin/{wtf,$pkgname}
	mv ${DESTDIR}/usr/share/man/man6/{wtf,$pkgname}.6
}
