aboutsummaryrefslogtreecommitdiffstats
path: root/dist
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-11-30 04:04:20 +0100
committerMattias Andrée <maandree@operamail.com>2015-11-30 04:04:20 +0100
commitb2aa1e95ea1f1c9c6cb2731c48283f76021a25a5 (patch)
treeb4385a945235beb1e0578abd6ff150946da91db0 /dist
parentupdate dsit (diff)
downloadxpybar-b2aa1e95ea1f1c9c6cb2731c48283f76021a25a5.tar.gz
xpybar-b2aa1e95ea1f1c9c6cb2731c48283f76021a25a5.tar.bz2
xpybar-b2aa1e95ea1f1c9c6cb2731c48283f76021a25a5.tar.xz
update dist
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'dist')
-rw-r--r--dist/archlinux/stable/PKGBUILD3
-rw-r--r--dist/archlinux/stable/xpybar.install20
2 files changed, 22 insertions, 1 deletions
diff --git a/dist/archlinux/stable/PKGBUILD b/dist/archlinux/stable/PKGBUILD
index ecf0eeb..5686b9c 100644
--- a/dist/archlinux/stable/PKGBUILD
+++ b/dist/archlinux/stable/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=xpybar
pkgver=1.13
-pkgrel=1
+pkgrel=2
pkgdesc="A highly extensible minimalistic dock panel configured in Python 3"
arch=(any)
url="https://github.com/maandree/xpybar"
@@ -23,6 +23,7 @@ optdepends=("linux: most of the monitors require Linux's procfs or sysfs"
"file: for image support"
"librsvg: for image support")
makedepends=(make coreutils sed zip auto-auto-complete texinfo)
+install=xpybar.install
source=($url/archive/$pkgver.tar.gz)
sha256sums=(09357b9aa426cab2f9a465c0e5f6ed18f7a83212e8bf56af1773f27a24aec9e7)
diff --git a/dist/archlinux/stable/xpybar.install b/dist/archlinux/stable/xpybar.install
new file mode 100644
index 0000000..ab45041
--- /dev/null
+++ b/dist/archlinux/stable/xpybar.install
@@ -0,0 +1,20 @@
+_file="xpybar"
+
+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
+}
+