diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-01-20 21:24:45 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-01-20 21:24:45 +0100 |
commit | bbb85d731a2126322cde1a1369cc1d57d16255de (patch) | |
tree | b68db9e6a0cc023cacf06d4bed9d9620c3c8e34a /libntru | |
parent | update emacs-gtk2 (diff) | |
download | aur-packages-bbb85d731a2126322cde1a1369cc1d57d16255de.tar.gz aur-packages-bbb85d731a2126322cde1a1369cc1d57d16255de.tar.bz2 aur-packages-bbb85d731a2126322cde1a1369cc1d57d16255de.tar.xz |
add libntru and update spot-on
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'libntru')
-rw-r--r-- | libntru/PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/libntru/PKGBUILD b/libntru/PKGBUILD new file mode 100644 index 0000000..525831e --- /dev/null +++ b/libntru/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org> + +pkgname=libntru +pkgver=0.3 +pkgrel=1 +pkgdesc='C Implementation of NTRUEncrypt' +url='https://github.com/tbuktu/libntru' +arch=('i686' 'x86_64') +license=('custom:2-clause BSD') +depends=('glibc') +makedepends=('gcc' 'glibc' 'make' 'coreutils') +source=("https://github.com/tbuktu/libntru/archive/${pkgver}.tar.gz") +sha256sums=('9ce6b6a20ca304c09d2ff853e3b5762880a8cb85728113b26eb8ca2e915e2a0a') + +build () +{ + cd "${srcdir}/libntru-${pkgver}" + + make -f Makefile.linux +} + +package () +{ + cd "${srcdir}/libntru-${pkgver}" + + make -f Makefile.linux install DESTDIR="${pkgdir}" + rm -r "${pkgdir}/usr/share" +} + |