termux-packages/packages/gnupg2/build.sh
Fredrik Fornwall 600b09449d gnupg2: Update from 2.1.20 to 2.1.21
Also remove workarounds for libgpg-error on Android < 7 as detailed
in https://github.com/termux/termux-packages/issues/933.
2017-05-16 00:05:14 +02:00

14 lines
765 B
Bash
Executable File

TERMUX_PKG_HOMEPAGE=https://www.gnupg.org/
TERMUX_PKG_DESCRIPTION="Implementation of the OpenPGP standard for encrypting and signing data and communication"
TERMUX_PKG_VERSION=2.1.21
TERMUX_PKG_SRCURL=https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${TERMUX_PKG_VERSION}.tar.bz2
TERMUX_PKG_SHA256=7aead8a8ba75b69866f583b6c747d91414d523bfdfbe9a8e0fe026b16ba427dd
TERMUX_PKG_DEPENDS="libassuan,libbz2,libgcrypt,libksba,libnpth,readline,pinentry"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-ldap --disable-sqlite"
# Remove non-english help files and man pages shipped with the gnupg (1) package:
TERMUX_PKG_RM_AFTER_INSTALL="share/gnupg/help.*.txt share/man/man1/gpg-zip.1 share/man/man7/gnupg.7"
termux_step_pre_configure() {
CPPFLAGS+=" -Ddn_skipname=__dn_skipname"
}