2014-11-10 23:01:40 +01:00
|
|
|
# Template file for 'gnupg2'
|
|
|
|
pkgname=gnupg2
|
2015-05-13 07:21:42 +02:00
|
|
|
version=2.1.4
|
2015-04-12 08:53:02 +02:00
|
|
|
revision=1
|
2014-11-10 23:01:40 +01: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"
|
2015-03-27 10:50:40 +01:00
|
|
|
makedepends="zlib-devel libldap-devel libcurl-devel readline-devel
|
|
|
|
libusb-compat-devel libgpg-error-devel libgcrypt-devel libassuan-devel
|
2015-02-27 15:32:15 +01:00
|
|
|
libksba-devel npth-devel gnutls-devel bzip2-devel"
|
2014-11-10 23:01:40 +01:00
|
|
|
depends="pinentry"
|
|
|
|
short_desc="The GNU Privacy Guard"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2014-11-10 23:01:40 +01:00
|
|
|
license="GPL-3"
|
|
|
|
homepage="http://www.gnupg.org/"
|
|
|
|
distfiles="ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-${version}.tar.bz2"
|
2015-05-13 07:21:42 +02:00
|
|
|
checksum=64127eedd868510f2bccccb22c507a4878ffa07495db16a0f976c67f56426cb0
|
2014-11-10 23:01:40 +01: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
|
|
|
|
}
|