diff options
author | 0xReki | 2015-06-08 15:06:47 +0200 |
---|---|---|
committer | 0xReki | 2015-06-08 15:06:47 +0200 |
commit | 6362895686e34971b3371d87c42b69a4cbab7574 (patch) | |
tree | f2d5e2e35f1ec11b6d67343e34a7476301f8dc6f /PKGBUILD | |
download | aur-6362895686e34971b3371d87c42b69a4cbab7574.tar.gz |
Initial Transition to AUR 4
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..35443e00ce9d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,67 @@ +# Maintainer: “0xReki” <mail@0xreki.de> +# Contributor: Gaetan Bisson <bisson@archlinux.org> +# Contributor: Tobias Powalowski <tpowa@archlinux.org> +# Contributor: Andreas Radke <andyrtr@archlinux.org> +# Contributor: Judd Vinet <jvinet@zeroflux.org> + +pkgname=gnupg-large-rsa +_pkgname=gnupg +pkgver=2.1.3 +pkgrel=2 +pkgdesc='Complete and free implementation of the OpenPGP standard - with fixes to make large RSA keys really work (and even bigger keys)' +url='http://www.gnupg.org/' +license=('GPL') +arch=('i686' 'x86_64') +optdepends=('libldap: gpg2keys_ldap' + 'libusb-compat: scdaemon') +makedepends=('libldap' 'libusb-compat') +depends=('npth' 'libgpg-error' 'libgcrypt' 'libksba' 'libassuan' + 'pinentry' 'bzip2' 'readline' 'gnutls') +validpgpkeys=('D8692123C4065DEA5E0F3AB5249B39D24F25E3B6' + '46CC730865BB5C78EBABADCF04376F3EE0856959' + '031EC2536E580D8EA286A9F22071B08A33BD3F06' + 'D238EA65D64C67ED4C3073F28A861B1C7EFD60D9') +source=("ftp://ftp.gnupg.org/gcrypt/${_pkgname}/${_pkgname}-${pkgver}.tar.bz2"{,.sig} "${pkgname}-${pkgver}.patch") +sha1sums=('091e69ec1ce3f0032e6b135e4da561e8d46d20a7' + 'SKIP' + '72bb0fc9e28702332cb7eba1e631c9f37ee10c30') + +install=install + +conflicts=('dirmngr' 'gnupg2' 'gnupg') +provides=('dirmngr' "gnupg2=${pkgver}" "gnupg=${pkgver}" ) +replaces=('dirmngr' 'gnupg2' 'gnupg') + +prepare() { + cd "${srcdir}/${_pkgname}-${pkgver}" + patch -p1 < ${srcdir}/${pkgname}-${pkgver}.patch + sed '/noinst_SCRIPTS = gpg-zip/c bin_SCRIPTS += gpg-zip' -i tools/Makefile.in +} + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --sbindir=/usr/bin \ + --libexecdir=/usr/lib/gnupg \ + --enable-symcryptrun \ + --enable-gpgtar \ + --enable-large-secmem + + make +} + +check() { + cd "${srcdir}/${_pkgname}-${pkgver}" + make check +} + +package() { + cd "${srcdir}/${_pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + ln -s gpg2 "${pkgdir}"/usr/bin/gpg + ln -s gpgv2 "${pkgdir}"/usr/bin/gpgv + ln -s gpg2.1.gz "${pkgdir}"/usr/share/man/man1/gpg.1.gz + rm "${pkgdir}/usr/share/gnupg/com-certs.pem" # FS#33059 +} |