diff --git a/srcpkgs/netpgpverify/template b/srcpkgs/netpgpverify/template index 1295f0ac59b..30872f79948 100644 --- a/srcpkgs/netpgpverify/template +++ b/srcpkgs/netpgpverify/template @@ -1,7 +1,7 @@ # Template file for 'netpgpverify' pkgname=netpgpverify version=20150204 -revision=1 +revision=2 build_style=configure configure_args="--prefix=/usr --mandir=/usr/share/man" short_desc="PGP/SSH standalone verification utility" @@ -10,3 +10,11 @@ license="2-clause-BSD" homepage="http://www.netpgp.com" distfiles="http://www.netpgp.com/src/${pkgname}-${version}.tar.gz" checksum=a488666ac3aecf010d7c06fd59836b97086f9c552409cee9f6324dfbb4c1448e + +post_extract() { + sed -i '/CC.*-o/s/$/ $(LDFLAGS)/' Makefile.in +} +post_install() { + sed '/\*\//q' main.c >LICENSE + vlicense LICENSE +}