2014-01-13 20:37:34 +00:00
|
|
|
# $Id$
|
|
|
|
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
2014-01-31 16:48:08 +00:00
|
|
|
# - disable DRNG and NEON support
|
2014-01-13 20:37:34 +00:00
|
|
|
|
|
|
|
pkgname=libgcrypt
|
2016-08-19 21:52:56 +00:00
|
|
|
pkgver=1.7.3
|
2016-06-18 17:35:15 +00:00
|
|
|
pkgrel=1
|
2014-01-13 20:37:34 +00:00
|
|
|
pkgdesc="General purpose cryptographic library based on the code from GnuPG"
|
|
|
|
arch=(i686 x86_64)
|
|
|
|
url="http://www.gnupg.org"
|
|
|
|
license=('LGPL')
|
2016-07-19 12:28:52 +00:00
|
|
|
depends=('libgpg-error')
|
2014-01-13 20:37:34 +00:00
|
|
|
options=('!emptydirs')
|
2015-09-10 23:56:52 +00:00
|
|
|
# https://www.gnupg.org/download/integrity_check.html
|
2015-03-01 16:07:03 +00:00
|
|
|
source=(ftp://ftp.gnupg.org/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2{,.sig})
|
2016-08-19 21:52:56 +00:00
|
|
|
sha1sums=('5a034291e7248592605db448481478e6c963aa9c'
|
2015-03-01 16:07:03 +00:00
|
|
|
'SKIP')
|
2015-09-10 23:56:52 +00:00
|
|
|
validpgpkeys=('031EC2536E580D8EA286A9F22071B08A33BD3F06' # "NIIBE Yutaka (GnuPG Release Key) <gniibe@fsij.org>"
|
|
|
|
'D8692123C4065DEA5E0F3AB5249B39D24F25E3B6') # Werner Koch
|
2014-01-13 20:37:34 +00:00
|
|
|
|
2014-01-31 16:48:08 +00:00
|
|
|
build() {
|
|
|
|
cd ${pkgname}-${pkgver}
|
2014-01-13 20:37:34 +00:00
|
|
|
./configure --prefix=/usr \
|
|
|
|
--disable-static \
|
|
|
|
--disable-padlock-support \
|
|
|
|
--disable-drng-support \
|
|
|
|
--disable-neon-support
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
make check
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
make DESTDIR=${pkgdir} install
|
|
|
|
}
|