gnupg: update to 2.4.0.

This commit is contained in:
Jan Christian Grünhage 2022-12-24 16:24:21 +01:00 committed by Michal Vasilek
parent 5102dab064
commit cc7b1071b1
1 changed files with 13 additions and 3 deletions

View File

@ -1,13 +1,18 @@
# Template file for 'gnupg'
pkgname=gnupg
version=2.3.8
version=2.4.0
revision=1
# We're building outside of the source tree, because upstream told us to:
# https://dev.gnupg.org/T6313#166339
build_wrksrc=build
build_style=gnu-configure
configure_args="$(vopt_enable ldap)
--with-libgcrypt-prefix=${XBPS_CROSS_BASE}/usr
--with-libassuan-prefix=${XBPS_CROSS_BASE}/usr
--with-ksba-prefix=${XBPS_CROSS_BASE}/usr
--with-npth-prefix=${XBPS_CROSS_BASE}/usr"
--with-npth-prefix=${XBPS_CROSS_BASE}/usr
--enable-all-tests"
configure_script="../configure"
hostmakedepends="pkg-config gettext"
makedepends="bzip2-devel gnutls-devel libassuan-devel libcurl-devel
libksba-devel libldap-devel libusb-compat-devel npth-devel sqlite-devel
@ -18,10 +23,15 @@ maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
license="GPL-3.0-or-later"
homepage="https://www.gnupg.org/"
distfiles="https://gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2"
checksum=540b7a40e57da261fb10ef521a282e0021532a80fd023e75fb71757e8a4969ed
checksum=1d79158dd01d992431dd2e3facb89fdac97127f89784ea2cb610c600fb0c1483
make_check_pre='env TESTFLAGS="--parallel=${XBPS_MAKEJOBS}"'
build_options="ldap"
build_options_default="ldap"
post_extract() {
mkdir build
}
post_install() {
vmkdir usr/share/examples
rm -r $DESTDIR/usr/share/doc/gnupg/examples/systemd-user