db-move: moved polari from [testing] to [extra] (x86_64)
[arch-packages.git] / nettle / trunk / PKGBUILD
blob5ec90d9a8d5b21d16609509e174b9ecd9cf67467
1 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
2 # Contributor: bender02 at gmx dot com
4 pkgname=nettle
5 pkgver=3.8.1
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=('364f3e2b77cd7dcde83fd7c45219c834e54b0c75e428b6f894a23d12dd41cbfe'
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