aboutsummaryrefslogtreecommitdiffstats
path: root/libntru
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--libntru/PKGBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/libntru/PKGBUILD b/libntru/PKGBUILD
index 525831e..ede0041 100644
--- a/libntru/PKGBUILD
+++ b/libntru/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
pkgname=libntru
-pkgver=0.3
+pkgver=0.4
pkgrel=1
pkgdesc='C Implementation of NTRUEncrypt'
url='https://github.com/tbuktu/libntru'
@@ -10,11 +10,12 @@ license=('custom:2-clause BSD')
depends=('glibc')
makedepends=('gcc' 'glibc' 'make' 'coreutils')
source=("https://github.com/tbuktu/libntru/archive/${pkgver}.tar.gz")
-sha256sums=('9ce6b6a20ca304c09d2ff853e3b5762880a8cb85728113b26eb8ca2e915e2a0a')
+sha256sums=('90c21c7609016edea03b753def6ffc8abb1f33a7350beb8d889fba96a7b5a4d8')
build ()
{
cd "${srcdir}/libntru-${pkgver}"
+ unset CC
make -f Makefile.linux
}
@@ -22,6 +23,7 @@ build ()
package ()
{
cd "${srcdir}/libntru-${pkgver}"
+ unset CC
make -f Makefile.linux install DESTDIR="${pkgdir}"
rm -r "${pkgdir}/usr/share"