2017-11-22 00:48:30 +00:00
|
|
|
# $Id$
|
2013-05-21 20:21:18 +00:00
|
|
|
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
|
|
|
|
# Contributor: bender02 at gmx dot com
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - disable neon, assembler
|
|
|
|
|
|
|
|
pkgname=nettle
|
2017-11-22 00:48:30 +00:00
|
|
|
pkgver=3.4
|
2016-10-04 23:33:13 +00:00
|
|
|
pkgrel=1
|
2013-05-21 20:21:18 +00:00
|
|
|
pkgdesc="A low-level cryptographic library"
|
2017-11-22 00:48:30 +00:00
|
|
|
arch=('x86_64')
|
|
|
|
url="https://www.lysator.liu.se/~nisse/nettle"
|
2013-05-21 20:21:18 +00:00
|
|
|
license=('GPL2')
|
|
|
|
depends=('gmp')
|
2017-11-22 00:48:30 +00:00
|
|
|
checkdepends=('valgrind')
|
2015-04-19 13:34:35 +00:00
|
|
|
source=(https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz{,.sig})
|
2017-11-22 00:48:30 +00:00
|
|
|
sha256sums=('ae7a42df026550b85daca8389b6a60ba6313b0567f374392e54918588a411e94'
|
|
|
|
'SKIP')
|
2015-04-19 13:34:35 +00:00
|
|
|
validpgpkeys=('343C2FF0FBEE5EC2EDBEF399F3599FF828C67298') # Niels Möller <nisse@lysator.liu.se>
|
2013-05-21 20:21:18 +00:00
|
|
|
|
2017-11-22 00:48:30 +00:00
|
|
|
|
2013-05-21 20:21:18 +00:00
|
|
|
build() {
|
2016-02-01 19:26:53 +00:00
|
|
|
cd $pkgname-$pkgver
|
2015-04-19 13:34:35 +00:00
|
|
|
./configure --prefix=/usr \
|
2017-11-22 00:48:30 +00:00
|
|
|
--disable-static --disable-arm-neon --disable-assembler
|
2013-05-21 20:21:18 +00:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
2016-02-01 19:26:53 +00:00
|
|
|
cd $pkgname-$pkgver
|
2013-05-21 20:21:18 +00:00
|
|
|
make -k check
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2016-02-01 19:26:53 +00:00
|
|
|
cd $pkgname-$pkgver
|
2013-05-21 20:21:18 +00:00
|
|
|
make DESTDIR="$pkgdir/" install
|
|
|
|
}
|