From cc7b1071b1c11d3210ecf544e4ae23e6907ea5f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?= Date: Sat, 24 Dec 2022 16:24:21 +0100 Subject: [PATCH] gnupg: update to 2.4.0. --- srcpkgs/gnupg/template | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/srcpkgs/gnupg/template b/srcpkgs/gnupg/template index 08751d2bea3..753b17e1f03 100644 --- a/srcpkgs/gnupg/template +++ b/srcpkgs/gnupg/template @@ -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 " 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