blob: a63992976f7b3979842e52733df85c92f8090fc9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Contributor: Laurent Bercot <ska-adelie@skarnet.org>
# Maintainer: Laurent Bercot <ska-adelie@skarnet.org>
pkgname=libsodium
pkgver=1.0.17
pkgrel=0
pkgdesc="Networking and Cryptography library: sodium fork"
url="https://libsodium.org/"
arch="all"
license="ISC"
subpackages="$pkgname-dev"
source="https://download.libsodium.org/libsodium/releases/$pkgname-$pkgver.tar.gz"
build() {
cd "$builddir"
./configure \
--prefix=/usr \
--enable-retpoline \
--with-pthreads \
--with-gnu-ld
make
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make install "DESTDIR=$pkgdir"
}
sha512sums="7cc9e4f11e656008ce9dff735acea95acbcb91ae4936de4d26f7798093766a77c373e9bd4a7b45b60ef8a11de6c55bc8dcac13bebf8c23c671d0536430501da1 libsodium-1.0.17.tar.gz"
|