void-packages/srcpkgs/gnupg/template
2020-09-04 12:10:20 +02:00

24 lines
764 B
Bash

# Template file for 'gnupg'
pkgname=gnupg
version=1.4.23
revision=3
build_style=gnu-configure
configure_args="--enable-threads=posix --enable-noexecstack gnupg_cv_regex_broken=no"
makedepends="bzip2-devel zlib-devel libldap-devel libcurl-devel readline-devel libusb-compat-devel"
short_desc="The GNU Privacy Guard"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://www.gnupg.org/"
distfiles="https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2"
checksum=c9462f17e651b6507848c08c430c791287cd75491f8b5a8b50c6ed46b12678ba
CFLAGS="-fcommon"
post_extract() {
case "$XBPS_TARGET_MACHINE" in
i686-musl) sed -i Makefile* -e"s;checks = checks;checks =;" ;;
esac
}
post_install() {
rm ${DESTDIR}/usr/bin/gpgsplit
}