archrelease: copy trunk to extra-x86_64
[arch-packages.git] / nettle / trunk / PKGBUILD
blob322aa1998909cdf9d791e96baa4e7c393b1e6e9e
1 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
2 # Contributor: bender02 at gmx dot com
4 pkgname=nettle
5 pkgver=3.9
6 pkgrel=1
7 pkgdesc="A low-level cryptographic library"
8 arch=('x86_64')
9 url="https://www.lysator.liu.se/~nisse/nettle"
10 license=('GPL2')
11 depends=('gmp')
12 provides=('libnettle.so' 'libhogweed.so')
13 checkdepends=('valgrind')
14 source=(https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz{,.sig})
15 sha256sums=('0ee7adf5a7201610bb7fe0acbb7c9b3be83be44904dd35ebbcd965cd896bfeaa'
16             'SKIP')
17 validpgpkeys=('343C2FF0FBEE5EC2EDBEF399F3599FF828C67298') # Niels Möller <nisse@lysator.liu.se>
20 build() {
21   cd $pkgname-$pkgver
22   ./configure --prefix=/usr \
23     --disable-static
24   make
27 check() {
28   cd $pkgname-$pkgver
29   make -k check
32 package() {
33   cd $pkgname-$pkgver
34   make DESTDIR="$pkgdir/" install