mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
41 lines
1 KiB
Bash
41 lines
1 KiB
Bash
# $Id$
|
|
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - disable DRNG and NEON support
|
|
|
|
pkgname=libgcrypt
|
|
pkgver=1.7.1
|
|
pkgrel=1
|
|
pkgdesc="General purpose cryptographic library based on the code from GnuPG"
|
|
arch=(i686 x86_64)
|
|
url="http://www.gnupg.org"
|
|
license=('LGPL')
|
|
depends=('libgpg-error>=1.10-2')
|
|
options=('!emptydirs')
|
|
# https://www.gnupg.org/download/integrity_check.html
|
|
source=(ftp://ftp.gnupg.org/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2{,.sig})
|
|
sha1sums=('b688add52b622bb96bbd823ba21aa05a116d442f'
|
|
'SKIP')
|
|
validpgpkeys=('031EC2536E580D8EA286A9F22071B08A33BD3F06' # "NIIBE Yutaka (GnuPG Release Key) <gniibe@fsij.org>"
|
|
'D8692123C4065DEA5E0F3AB5249B39D24F25E3B6') # Werner Koch
|
|
|
|
build() {
|
|
cd ${pkgname}-${pkgver}
|
|
./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
|
|
}
|