PKGBUILDs/core/libgcrypt/PKGBUILD
2014-08-23 15:47:27 +00:00

38 lines
837 B
Bash

# $Id$
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - disable DRNG and NEON support
pkgname=libgcrypt
pkgver=1.6.2
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')
install=$pkgname.install
source=(ftp://ftp.gnupg.org/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
sha1sums=('cc31aca87e4a3769cb86884a3f5982b2cc8eb7ec')
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
}