summaryrefslogtreecommitdiff
path: root/community/libsodium/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/libsodium/PKGBUILD')
-rw-r--r--community/libsodium/PKGBUILD12
1 files changed, 8 insertions, 4 deletions
diff --git a/community/libsodium/PKGBUILD b/community/libsodium/PKGBUILD
index da1b341a7..5cc15961a 100644
--- a/community/libsodium/PKGBUILD
+++ b/community/libsodium/PKGBUILD
@@ -1,20 +1,24 @@
-# $Id: PKGBUILD 100860 2013-11-12 10:28:49Z fyan $
+# $Id: PKGBUILD 111111 2014-05-14 03:38:53Z fyan $
# Maintainer: Felix Yan <felixonmars@gmail.com>
# Contributor: namelessjon <jonathan.stott@gmail.com>
# Contributor: Alessio Sergi <asergi at archlinux dot us>
pkgname=libsodium
-pkgver=0.4.5
-pkgrel=2
+pkgver=0.5.0
+pkgrel=1
pkgdesc="P(ortable|ackageable) NaCl-based crypto library"
arch=('i686' 'x86_64')
url="https://github.com/jedisct1/libsodium"
license=('custom:ISC')
depends=('glibc')
+makedepends=('clang')
source=(http://download.dnscrypt.org/$pkgname/releases/$pkgname-${pkgver}.tar.gz)
build() {
cd "$pkgname-$pkgver"
+ export CC=clang
+ CFLAGS=${CFLAGS/-fstack-protector-strong/}
+
./configure --prefix=/usr
make
}
@@ -34,4 +38,4 @@ package() {
}
# vim:set ts=2 sw=2 et:
-sha512sums=('6105bb91982e040420312f042bb71547f0208ed9b2928b1740a68134b82dd4566f18c0761b8959a85d13b6770edbd977d989bc74eabc9bfa5e0000f5ab5c7b32')
+sha512sums=('6a483a4699daaa9f047fd362b405b21eb058c44e240f0f910fbd2167239f51bc092e807f875fc971a1e70decc6fa861b6904bef86156b27790960aba88ce253a')