gnupg2: update to 2.2.7.

This commit is contained in:
maxice8 2018-05-03 00:11:44 -03:00 committed by Leah Neukirchen
parent c37248afba
commit c825eff957
1 changed files with 6 additions and 9 deletions

View File

@ -1,15 +1,12 @@
# Template file for 'gnupg2'
pkgname=gnupg2
version=2.2.6
version=2.2.7
revision=1
wrksrc="gnupg-${version}"
build_style=gnu-configure
configure_args="
--with-libgcrypt-prefix=${XBPS_CROSS_BASE}
--with-ksba-prefix=${XBPS_CROSS_BASE}
--with-npth-prefix=${XBPS_CROSS_BASE}
--with-libassuan-prefix=${XBPS_CROSS_BASE}
--enable-gpg-is-gpg2"
configure_args="--with-libgcrypt-prefix=${XBPS_CROSS_BASE}
--with-ksba-prefix=${XBPS_CROSS_BASE} --with-npth-prefix=${XBPS_CROSS_BASE}
--with-libassuan-prefix=${XBPS_CROSS_BASE} --enable-gpg-is-gpg2"
hostmakedepends="pkg-config"
makedepends="bzip2-devel gnutls-devel libassuan-devel libcurl-devel
libksba-devel libldap-devel libusb-compat-devel npth-devel sqlite-devel"
@ -19,10 +16,10 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3.0-or-later"
homepage="https://www.gnupg.org/"
distfiles="https://gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2"
checksum=e64d8c5fa2d05938a5080cb784a98ac21be0812f2a26f844b18f0d6a0e711984
checksum=d95b361ee6ef7eff86af40c8c72bf9313736ac9f7010d6604d78bf83818e976e
pre_configure() {
sed -i '/^CFLAGS_orig=/d;/^CFLAGS=$/d' configure
sed -i '/^CFLAGS=$/d' configure
sed -i '/examples\/systemd-user/d' doc/Makefile.in
}