From 883b622883b74662e8774a8f1ccf0f4eef97d994 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 30 Nov 2015 03:45:07 +0100 Subject: prepare dist update MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- dist/archlinux/stable/PKGBUILD | 5 +++-- dist/archlinux/stable/libkeccak.install | 20 ++++++++++++++++++++ 2 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 dist/archlinux/stable/libkeccak.install (limited to 'dist/archlinux') 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 +} + -- cgit v1.2.3-70-g09d2