archrelease: copy trunk to extra-x86_64
[arch-packages.git] / nettle / trunk / PKGBUILD
blob1fee874f481c37bab7f8514c019c041f752bf3fa
1 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
2 # Contributor: bender02 at gmx dot com
4 pkgname=nettle
5 pkgver=3.7.3
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=('661f5eb03f048a3b924c3a8ad2515d4068e40f67e774e8a26827658007e3bcf0'
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