# Contributor: Ɓukasz Jendrysik # Contributor: Stuart Cardall # Maintainer: Stuart Cardall pkgname=libsodium pkgver=1.0.17 pkgrel=0 pkgdesc="P(ortable|ackageable) NaCl-based crypto library" url="https://github.com/jedisct1/libsodium" arch="all" license="ISC" subpackages="$pkgname-dev" source="https://download.libsodium.org/$pkgname/releases/$pkgname-$pkgver.tar.gz" builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr make } check() { cd "$builddir" make check } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="7cc9e4f11e656008ce9dff735acea95acbcb91ae4936de4d26f7798093766a77c373e9bd4a7b45b60ef8a11de6c55bc8dcac13bebf8c23c671d0536430501da1 libsodium-1.0.17.tar.gz"