diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-03-28 20:45:18 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-03-28 20:45:18 +0100 |
commit | a028918112883712ca4859f6457cd0ba2bb1710f (patch) | |
tree | 0647161ba0b7354b05a60fc78c4d7385bfe458e0 /python3-xlib/python3-xlib.install | |
parent | update gitignore (diff) | |
download | aur-packages-a028918112883712ca4859f6457cd0ba2bb1710f.tar.gz aur-packages-a028918112883712ca4859f6457cd0ba2bb1710f.tar.bz2 aur-packages-a028918112883712ca4859f6457cd0ba2bb1710f.tar.xz |
add python3-xlib
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'python3-xlib/python3-xlib.install')
-rw-r--r-- | python3-xlib/python3-xlib.install | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/python3-xlib/python3-xlib.install b/python3-xlib/python3-xlib.install new file mode 100644 index 0000000..64a3f36 --- /dev/null +++ b/python3-xlib/python3-xlib.install @@ -0,0 +1,20 @@ +_file="python-xlib" + +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 +} + |