void-packages/srcpkgs/netpgpverify/template

21 lines
591 B
Bash

# Template file for 'netpgpverify'
pkgname=netpgpverify
version=20160707
revision=1
build_style=configure
configure_args="--prefix=/usr --mandir=/usr/share/man"
short_desc="PGP/SSH standalone verification utility"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="2-clause-BSD"
homepage="http://www.netpgp.com"
distfiles="http://www.netpgp.com/src/${pkgname}-${version}.tar.gz"
checksum=1eedf30b35cacbf8f39b80fbc4ea6129ba8c7815b0ad7f3d1ae05e521f684b00
post_extract() {
sed -i '/CC.*-o/s/$/ $(LDFLAGS)/' Makefile.in
}
post_install() {
sed '/\*\//q' main.c >LICENSE
vlicense LICENSE
}