# Compiling Time: 0.48 SBU # Maintainer: DeX77 pkgname=gnupg2 _F_archive_name=gnupg pkgver=2.3.1 pkgrel=2 pkgdesc="GnuPG2 is the new modularized version of GnuPG supporting OpenPGP and S/MIME" url="http://www.gnupg.org/" depends=('npth>=1.5-2' 'libksba>=1.3.5-2' 'libusb>=0.1.5-4' 'libassuan>=2.5.1-2' \ 'ncurses>=6.0-12' 'readline>=8.0' 'sqlite3>=3.9.2-4' 'libsystemd>=231-22') makedepends=('systemd>=231-22' 'openldap>=2.4.45-3') groups=('apps' 'chroot-core') archs=("x86_64") _F_archive_grep="$_F_archive_name-2" up2date="Flasttar ftp://ftp.gnupg.org/gcrypt/gnupg/" source=(ftp://ftp.gnupg.org/gcrypt/$_F_archive_name/$_F_archive_name-$pkgver.tar.bz2) #signatures=("${source[0]}.sig") sha1sums=('a8f66ba4f7dcb2e7322aef786f942ce5ccca6f14') provides=('gnupg') replaces=('gnupg') conflicts=('gnupg') subpkgs=('gpg-agent') subdescs=('gpg-agent is made for handling gpg-keys') subdepends=('libgcrypt>=1.7.3-2 npth>=1.2-6 libgpg-error>=1.24 libassuan>=2.5.1-2 libksba>=1.3.3-3 ncurses>=6.0-18 readline>=8.0') subrodepends=('') subgroups=('apps') subarchs=("x86_64") subprovides=('') subreplaces=('') subconflicts=('') subpkgs+=('gpgv') subdescs+=("gpgv from $pkgname.") subgroups+=('apps') subarchs+=('x86_64') subrodepends+=('') subdepends+=('zlib>=1.2.8-8 bzip2>=1.0.6-4 libgcrypt>=1.7.3-2') subprovides+=('') subreplaces+=('') subconflicts+=('') subpkgs+=('dirmngr') subdescs+=("GnuPG dirmngr") subgroups+=('apps chroot-core') subarchs+=('x86_64') subdepends+=('libassuan>=2.4.45-3 libgcrypt>=1.6.4-3 libksba>=1.3.3-3 npth>=1.2-5 gnutls>=3.4.8 libidn>=1.32-4 libffi>=3.2.1') subrodepends+=('') subprovides+=('') subreplaces+=('') subconflicts+=('dirmngr-ldap') subpkgs+=('dirmngr-ldap') subdescs+=("GnuPG dirmngr with LDAP support") subgroups+=('apps-extra') subarchs+=('x86_64') subdepends+=('libldap>=2.5.4 libassuan>=2.5.1-2 libgcrypt>=1.6.4-3 libksba>=1.3.3-3 npth>=1.5-2 gnutls>=3.4.8 libidn>=1.32-4 libffi>=3.2.1') subrodepends+=('') subprovides+=('dirmngr') subreplaces+=('') subconflicts+=('dirmngr') Fconfopts+="--enable-symcryptrun \ --enable-maintainer-mode \ --enable-gpgtar \ --enable-gpg2-is-gpg \ --enable-threads=posix" build() { Fbuild --disable-ldap Fln usr/bin/gpg2 usr/bin/gpg Fln usr/share/man/man1/gpg2.1.gz usr/share/man/man1/gpg.1.gz ## gpg-agent Fsplit gpg-agent usr/bin/gpg-agent Fsplit gpg-agent usr/lib/$pkgname/gpg-preset-passphrase Fsplit gpg-agent usr/lib/$pkgname/gpg-protect-tool Fsplit gpg-agent usr/bin/gpg-connect-agent ## gpgv Fln usr/bin/gpgv usr/bin/gpgv2 Fsplit gpgv usr/bin/gpgv Fsplit gpgv usr/bin/gpgv2 ## dirmngr Fsplit dirmngr usr/bin/dirmngr # and now to something completely different Fexec make distclean Fbuild --enable-ldap --program-prefix="ldap_" Fsplit dirmngr-ldap usr/bin/ldap_dirmngr Fsplit dirmngr-ldap usr/lib/$pkgname/ldap_dirmngr_ldap # remove doublettes Fexec find $Fdestdir -name "ldap_*" -delete Frm usr/bin/gpgv } # optimization OK