diff options
author | Mattias Andrée | 2015-11-30 03:40:45 +0100 |
---|---|---|
committer | Mattias Andrée | 2015-11-30 03:40:45 +0100 |
commit | ed38201b61df5852ccbe3545bba0c7066839d34b (patch) | |
tree | 04e113884a2e65921a61d3875a4e0997156be489 | |
parent | 2b7a80d5798a86c67799f2503e8df6e5d134281f (diff) | |
download | aur-ed38201b61df5852ccbe3545bba0c7066839d34b.tar.gz |
Update package release to 3.1.6-2
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 3 | ||||
-rw-r--r-- | bus.install | 20 |
3 files changed, 24 insertions, 2 deletions
@@ -1,8 +1,9 @@ pkgbase = bus pkgdesc = A simple daemonless system for broadcasting messages locally pkgver = 3.1.6 - pkgrel = 1 + pkgrel = 2 url = https://github.com/maandree/bus + install = bus.install arch = i686 arch = x86_64 license = MIT @@ -2,13 +2,14 @@ pkgname=bus pkgver=3.1.6 -pkgrel=1 +pkgrel=2 pkgdesc="A simple daemonless system for broadcasting messages locally" arch=(i686 x86_64) url="https://github.com/maandree/bus" license=('MIT') depends=() makedepends=() +install=bus.install source=($url/archive/$pkgver.tar.gz) sha256sums=(79683d48e8bcea44a564510b27d438ebf46a1080e8d51c6d2eeae324b87b087a) diff --git a/bus.install b/bus.install new file mode 100644 index 000000000000..6b67f0381ed0 --- /dev/null +++ b/bus.install @@ -0,0 +1,20 @@ +_file="bus" + +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 +} + |