netpgpverify: use LDFLAGS, include license.

This commit is contained in:
Christian Neukirchen 2016-05-26 21:17:29 +02:00
parent 99d957af55
commit 7361be6472
1 changed files with 9 additions and 1 deletions

View File

@ -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
}