# Template file for 'netbsd-wtf'
pkgname=netbsd-wtf
version=20220831
revision=1
_commit=fc5588bdd1c45dc812e39bc8ac75084424c67de8
build_style=gnu-makefile
short_desc="NetBSD's wtf(6) utility"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="Public Domain"
homepage="https://www.netbsd.org"
distfiles="https://github.com/void-linux/netbsd-wtf/archive/$_commit.tar.gz"
checksum=1504a28e5b7785bce98d57824747e40b2ebf3c4ca013e6d15dcf0bb13c0228cd

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