diff options
author | Mattias Andrée <maandree@kth.se> | 2017-02-10 18:17:01 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2017-02-10 18:17:01 +0100 |
commit | 51d8621963d89b3348885d6af69f916e74485073 (patch) | |
tree | ba2fc226255d3d048d4476a1986e5798c5c88249 /libkeccak/libkeccak.install | |
parent | Fix makedeps for cg-tools (diff) | |
download | aur-packages-51d8621963d89b3348885d6af69f916e74485073.tar.gz aur-packages-51d8621963d89b3348885d6af69f916e74485073.tar.bz2 aur-packages-51d8621963d89b3348885d6af69f916e74485073.tar.xz |
Add libkeccak
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libkeccak/libkeccak.install')
-rw-r--r-- | libkeccak/libkeccak.install | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/libkeccak/libkeccak.install b/libkeccak/libkeccak.install new file mode 100644 index 0000000..aa88d6d --- /dev/null +++ b/libkeccak/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 +} + |