diff options
author | Stuart Cardall <developer@it-offshore.co.uk> | 2017-03-13 18:21:20 +0000 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-03-15 16:31:15 +0100 |
commit | 3fbe9f872fd14e6b3ae664e25641abbb00b538f0 (patch) | |
tree | 01f93bc8daccd3d1b9199768b4cf13608d8968fb /main/libsodium/APKBUILD | |
parent | 0ff5d20795b2ae3970208941677b8f6120897594 (diff) | |
download | aports-3fbe9f872fd14e6b3ae664e25641abbb00b538f0.tar.bz2 aports-3fbe9f872fd14e6b3ae664e25641abbb00b538f0.tar.xz |
main/libsodium: update to 1.0.12
https://github.com/jedisct1/libsodium/blob/master/ChangeLog
Diffstat (limited to 'main/libsodium/APKBUILD')
-rw-r--r-- | main/libsodium/APKBUILD | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/main/libsodium/APKBUILD b/main/libsodium/APKBUILD index 1bdcbeeb60..12c7f87c9a 100644 --- a/main/libsodium/APKBUILD +++ b/main/libsodium/APKBUILD @@ -2,36 +2,34 @@ # Contributor: Stuart Cardall <developer@it-offshore.co.uk> # Maintainer: Stuart Cardall <developer@it-offshore.co.uk> pkgname=libsodium -pkgver=1.0.11 +pkgver=1.0.12 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://github.com/jedisct1/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz" +source="https://download.libsodium.org/$pkgname/releases/$pkgname-$pkgver.tar.gz" +builddir="$srcdir/$pkgname-$pkgver" -_builddir="$srcdir"/$pkgname-$pkgver build() { - cd "$_builddir" + cd "$builddir" ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - || return 1 - make || return 1 + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + || return 1 + make || return 1 } check() { - cd "$pkgname-$pkgver" + cd "$builddir" make check || return 1 } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install || return 1 } -md5sums="b58928d035064b2a46fb564937b83540 libsodium-1.0.11.tar.gz" -sha256sums="a14549db3c49f6ae2170cbbf4664bd48ace50681045e8dbea7c8d9fb96f9c765 libsodium-1.0.11.tar.gz" -sha512sums="4b1293c4d0e52264beecdd05833857bc4d77d1c2a97eea0138fe04df383b9a2dfcad4a79ccd9aed8f6c0047ba67c49292b0d2ccf987ab0b5046b46b1586ccbd7 libsodium-1.0.11.tar.gz" +sha512sums="1e63960da42bcc90945463ae1f5b1355849881dce5bba6d293391f8d6f0932063a5bfd433a071cb184af90ebeab469acc34710587116922144d61f3d7661901b libsodium-1.0.12.tar.gz" |