PKGBUILDs/core/nettle/PKGBUILD
2016-10-04 23:33:13 +00:00

36 lines
889 B
Bash

# $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
pkgver=3.3
pkgrel=1
pkgdesc="A low-level cryptographic library"
arch=('i686' 'x86_64')
url="http://www.lysator.liu.se/~nisse/nettle/"
license=('GPL2')
depends=('gmp')
source=(https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz{,.sig})
md5sums=('10f969f78a463704ae73529978148dbe'
'SKIP')
validpgpkeys=('343C2FF0FBEE5EC2EDBEF399F3599FF828C67298') # Niels Möller <nisse@lysator.liu.se>
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr \
--disable-static --disable-arm-neon --disable-assembler
make
}
check() {
cd $pkgname-$pkgver
make -k check
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir/" install
}