diff options
author | Mattias Andrée <maandree@kth.se> | 2017-10-14 01:17:49 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2017-10-14 01:17:49 +0200 |
commit | 5d3804cd69451c7cd99f472ab2ed868d021826d0 (patch) | |
tree | 37ab58a939eec7769467f7340ee6642638a85a93 /libkeccak | |
parent | Update alarm (diff) | |
download | aur-packages-5d3804cd69451c7cd99f472ab2ed868d021826d0.tar.gz aur-packages-5d3804cd69451c7cd99f472ab2ed868d021826d0.tar.bz2 aur-packages-5d3804cd69451c7cd99f472ab2ed868d021826d0.tar.xz |
Update libkeccak
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | libkeccak/PKGBUILD | 14 | ||||
-rw-r--r-- | libkeccak/libkeccak.install | 20 |
2 files changed, 6 insertions, 28 deletions
diff --git a/libkeccak/PKGBUILD b/libkeccak/PKGBUILD index fedac2e..791e87a 100644 --- a/libkeccak/PKGBUILD +++ b/libkeccak/PKGBUILD @@ -1,34 +1,32 @@ # Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org> pkgname=libkeccak -pkgver=1.1.1 +pkgver=1.1.2 pkgrel=1 pkgdesc="Keccak-family hashing library" arch=(i686 x86_64) url="https://github.com/maandree/libkeccak" -license=('AGPL3') +license=('custom:ISC') depends=(glibc) checkdepends=(glibc valgrind make coreutils) makedepends=(glibc gcc make coreutils binutils texinfo) -install=libkeccak.install source=($url/archive/$pkgver.tar.gz) -sha256sums=(48eec8cbd3a90f4446d7d04a45e70becad6f3a4e7d156b66746404aeb24603a9) +sha256sums=(7d6d7aef8e5cbb189a59ecbd096c253e616fba5f15f2af7212f49fbbc9d910f3) build() { cd "$srcdir/$pkgname-$pkgver" - make PREFIX=/usr + make CONFIGFILE=optimised.mk PREFIX=/usr } check() { cd "$srcdir/$pkgname-$pkgver" - make check + make CONFIGFILE=optimised.mk check } package() { cd "$srcdir/$pkgname-$pkgver" - make PREFIX=/usr DESTDIR="$pkgdir" install + make CONFIGFILE=optimised.mk PREFIX=/usr DESTDIR="$pkgdir" install } - diff --git a/libkeccak/libkeccak.install b/libkeccak/libkeccak.install deleted file mode 100644 index aa88d6d..0000000 --- a/libkeccak/libkeccak.install +++ /dev/null @@ -1,20 +0,0 @@ -_file="libkeccak" - -infodir="usr/share/info" -file="${_file}.info" - - -post_install() { - [[ -x "usr/bin/install-info" ]] || return 0 - install-info -- "${infodir}/${file}" "${infodir}/dir" 2> /dev/null -} - -post_upgrade() { - post_install "$1" -} - -pre_remove() { - [[ -x "usr/bin/install-info" ]] || return 0 - install-info --delete -- "${infodir}/${file}" "${infodir}/dir" 2> /dev/null -} - |