void-packages/srcpkgs/netbsd-wtf/template
2015-07-27 01:21:58 +02:00

23 lines
701 B
Bash

# Template file for 'netbsd-wtf'
pkgname=netbsd-wtf
reverts=20150223_1
version=20131125
revision=1
_commit=678eae8b35998045af4b99bc8b10f3e7cd9cc826
noarch=yes
build_style=gnu-makefile
make_build_args="DATADIR=/usr/share"
make_install_args="PREFIX=/usr DATADIR=/usr/share"
short_desc="The NetBSD's wtf(6) utility"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="Public domain"
homepage="http://www.NetBSD.org"
distfiles="https://github.com/voidlinux/netbsd-wtf/archive/$_commit.tar.gz"
checksum=2283a4c9e73993daa6a3b4a598ec704196e1ee9914f1e36e95241ecd5c6c6508
wrksrc="$pkgname-$_commit"
post_install() {
mv ${DESTDIR}/usr/bin/{wtf,$pkgname}
mv ${DESTDIR}/usr/share/man/man6/{wtf,$pkgname}.6
}