void-packages/srcpkgs/netbsd-wtf/template

22 lines
629 B
Bash

# Template file for 'netbsd-wtf'
pkgname=netbsd-wtf
version=20180621
revision=2
_commit=b1e5be48e340146f63b174cc14fef892a783168b
archs=noarch
build_style=gnu-makefile
short_desc="The NetBSD's wtf(6) utility"
maintainer="Juan RP <xtraeme@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
}