blob: 6697b417857e5d15da26c4adbd71c7e56f00eb54 (
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
|
# Contributor: Laurent Bercot <ska-adelie@skarnet.org>
# Maintainer: Laurent Bercot <ska-adelie@skarnet.org>
pkgname=libsodium
pkgver=1.0.18
pkgrel=0
pkgdesc="Networking and Cryptography library: sodium fork"
url="https://libsodium.org/"
arch="all"
license="ISC"
depends=""
makedepends=""
subpackages="$pkgname-dev"
source="https://download.libsodium.org/libsodium/releases/$pkgname-$pkgver.tar.gz"
build() {
./configure \
--prefix=/usr \
--enable-retpoline \
--with-pthreads \
--with-gnu-ld
make
}
check() {
make check
}
package() {
make install "DESTDIR=$pkgdir"
}
sha512sums="17e8638e46d8f6f7d024fe5559eccf2b8baf23e143fadd472a7d29d228b186d86686a5e6920385fe2020729119a5f12f989c3a782afbd05a8db4819bb18666ef libsodium-1.0.18.tar.gz"
|