aboutsummaryrefslogtreecommitdiffstats
path: root/dist/archlinux
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-11-30 03:45:07 +0100
committerMattias Andrée <maandree@operamail.com>2015-11-30 03:45:07 +0100
commit883b622883b74662e8774a8f1ccf0f4eef97d994 (patch)
tree0a9c47db460579533456e1bed366dd888e3c2d32 /dist/archlinux
parentreadme: info (diff)
downloadlibkeccak-883b622883b74662e8774a8f1ccf0f4eef97d994.tar.gz
libkeccak-883b622883b74662e8774a8f1ccf0f4eef97d994.tar.bz2
libkeccak-883b622883b74662e8774a8f1ccf0f4eef97d994.tar.xz
prepare dist update
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--dist/archlinux/stable/PKGBUILD5
-rw-r--r--dist/archlinux/stable/libkeccak.install20
2 files changed, 23 insertions, 2 deletions
diff --git a/dist/archlinux/stable/PKGBUILD b/dist/archlinux/stable/PKGBUILD
index 841d54d..10a3cb9 100644
--- a/dist/archlinux/stable/PKGBUILD
+++ b/dist/archlinux/stable/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
pkgname=libkeccak
-pkgver=1.1
+pkgver=1.2
pkgrel=1
pkgdesc="Keccak-family hashing library"
arch=(i686 x86_64)
@@ -9,7 +9,8 @@ url="https://github.com/maandree/libkeccak"
license=('AGPL3')
depends=(glibc)
checkdepends=(glibc valgrind make coreutils)
-makedepends=(glibc gcc make coreutils binutils)
+makedepends=(glibc gcc make coreutils binutils texinfo)
+install=libkeccak.install
source=($url/archive/$pkgver.tar.gz)
sha256sums=(f8f7382bd2b05a539d29f718a8f2d3b922a852dd588c786d9d841cc8f1b3bb2b)
diff --git a/dist/archlinux/stable/libkeccak.install b/dist/archlinux/stable/libkeccak.install
new file mode 100644
index 0000000..aa88d6d
--- /dev/null
+++ b/dist/archlinux/stable/libkeccak.install
@@ -0,0 +1,20 @@
+_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
+}
+