void-packages/srcpkgs/gnupg2/template

34 lines
1.1 KiB
Bash
Raw Normal View History

2014-11-10 22:01:40 +00:00
# Template file for 'gnupg2'
pkgname=gnupg2
2015-04-12 06:53:02 +00:00
version=2.1.3
revision=1
2014-11-10 22:01:40 +00:00
wrksrc="gnupg-${version}"
build_style=gnu-configure
configure_args="--sbindir=/usr/bin
--with-libgcrypt-prefix=${XBPS_CROSS_BASE}
--with-ksba-prefix=${XBPS_CROSS_BASE}
--with-npth-prefix=${XBPS_CROSS_BASE}
--with-libassuan-prefix=${XBPS_CROSS_BASE}"
hostmakedepends="pkg-config"
makedepends="zlib-devel libldap-devel libcurl-devel readline-devel
libusb-compat-devel libgpg-error-devel libgcrypt-devel libassuan-devel
libksba-devel npth-devel gnutls-devel bzip2-devel"
2014-11-10 22:01:40 +00:00
depends="pinentry"
short_desc="The GNU Privacy Guard"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2014-11-10 22:01:40 +00:00
license="GPL-3"
homepage="http://www.gnupg.org/"
distfiles="ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-${version}.tar.bz2"
2015-04-12 06:53:02 +00:00
checksum=213e7fb0d74bb4e53a2d3153f309ddc077528f2cfffa2af85f2a20cc7875c8ed
2014-11-10 22:01:40 +00:00
post_install() {
# remove conflicts with gnupg 1.
rm ${DESTDIR}/usr/share/man/man1/gpg-zip.1
rm ${DESTDIR}/usr/share/man/man7/gnupg.7
vmkdir usr/share/examples
mv ${DESTDIR}/usr/share/doc/gnupg/examples ${DESTDIR}/usr/share/examples/gnupg2
rm -rf ${DESTDIR}/usr/share/doc/gnupg
}