2013-05-21 20:21:18 +00:00
|
|
|
# $Id: PKGBUILD 183668 2013-04-26 12:45:09Z andyrtr $
|
|
|
|
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
|
|
|
|
# Contributor: bender02 at gmx dot com
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - disable neon, assembler
|
|
|
|
|
|
|
|
pkgname=nettle
|
2015-05-02 13:47:46 +00:00
|
|
|
pkgver=3.1.1
|
2013-05-30 15:40:45 +00:00
|
|
|
pkgrel=1
|
2013-05-21 20:21:18 +00:00
|
|
|
pkgdesc="A low-level cryptographic library"
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url="http://www.lysator.liu.se/~nisse/nettle/"
|
|
|
|
license=('GPL2')
|
|
|
|
install=$pkgname.install
|
|
|
|
depends=('gmp')
|
2015-04-19 13:34:35 +00:00
|
|
|
source=(https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz{,.sig})
|
2015-05-02 13:47:46 +00:00
|
|
|
md5sums=('b40fa88dc32f37a182b6b42092ebb144'
|
2015-04-19 13:34:35 +00:00
|
|
|
'SKIP')
|
|
|
|
validpgpkeys=('343C2FF0FBEE5EC2EDBEF399F3599FF828C67298') # Niels Möller <nisse@lysator.liu.se>
|
2013-05-21 20:21:18 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$srcdir/$pkgname-$pkgver"
|
2015-04-19 13:34:35 +00:00
|
|
|
./configure --prefix=/usr \
|
|
|
|
--disable-static --disable-arm-neon --disable-assembler
|
2013-05-21 20:21:18 +00:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
|
|
make -k check
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
|
|
make DESTDIR="$pkgdir/" install
|
|
|
|
}
|