gnupg2: update to 2.2.6.

This commit is contained in:
maxice8 2018-04-10 00:52:51 -03:00 committed by Leah Neukirchen
parent 7fcc5b39d0
commit 376dfc748f

View file

@ -1,6 +1,6 @@
# Template file for 'gnupg2'
pkgname=gnupg2
version=2.2.5
version=2.2.6
revision=1
wrksrc="gnupg-${version}"
build_style=gnu-configure
@ -11,22 +11,21 @@ configure_args="
--with-libassuan-prefix=${XBPS_CROSS_BASE}
--enable-gpg-is-gpg2"
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 sqlite-devel
libusb-compat-devel"
makedepends="bzip2-devel gnutls-devel libassuan-devel libcurl-devel
libksba-devel libldap-devel libusb-compat-devel npth-devel sqlite-devel"
depends="pinentry"
short_desc="The GNU Privacy Guard (2.x)"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3"
license="GPL-3.0-or-later"
homepage="https://www.gnupg.org/"
distfiles="https://gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2"
checksum=3fa189a32d4fb62147874eb1389047c267d9ba088f57ab521cb0df46f08aef57
checksum=e64d8c5fa2d05938a5080cb784a98ac21be0812f2a26f844b18f0d6a0e711984
pre_configure() {
sed -i '/^CFLAGS_orig=/d;/^CFLAGS=$/d' configure
sed -i '/examples\/systemd-user/d' doc/Makefile.in
}
post_install() {
# remove conflicts with gnupg 1.
rm ${DESTDIR}/usr/share/man/man7/gnupg.7