diff options
author | Mattias Andrée | 2015-11-30 03:57:30 +0100 |
---|---|---|
committer | Mattias Andrée | 2015-11-30 03:57:30 +0100 |
commit | 2cf45e1f0651540efab9fae721674a3172b15eeb (patch) | |
tree | c592d094d41ea29c17f15589f77bc609abfbab1f | |
parent | 7a8f9e2ec6f5aeefc77a30a356d9eeaa56ae7df5 (diff) | |
download | aur-2cf45e1f0651540efab9fae721674a3172b15eeb.tar.gz |
Update package release to 2.2-2
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 5 | ||||
-rw-r--r-- | mongoclock.install | 20 |
3 files changed, 26 insertions, 3 deletions
@@ -1,12 +1,14 @@ pkgbase = mongoclock pkgdesc = Just a humongous clock for the terminal pkgver = 2.2 - pkgrel = 1 + pkgrel = 2 url = https://github.com/maandree/mongoclock + install = mongoclock.install arch = any license = GPL3 makedepends = linux-api-headers makedepends = general-preprocessor + makedepends = texinfo depends = glibc depends = linux source = https://github.com/maandree/mongoclock/archive/2.2.tar.gz @@ -2,13 +2,14 @@ pkgname=mongoclock pkgver=2.2 -pkgrel=1 +pkgrel=2 pkgdesc='Just a humongous clock for the terminal' arch=(any) url='https://github.com/maandree/mongoclock' license=('GPL3') depends=(glibc linux) -makedepends=(linux-api-headers general-preprocessor) +makedepends=(linux-api-headers general-preprocessor texinfo) +install=mongoclock.install source=("${url}/archive/${pkgver}.tar.gz") sha256sums=(ae2298905a2f729679fddaeb732183b95607438af62dca02bdf5ae0a1b29e950) diff --git a/mongoclock.install b/mongoclock.install new file mode 100644 index 000000000000..e9a601acbc5c --- /dev/null +++ b/mongoclock.install @@ -0,0 +1,20 @@ +_file="mongoclock" + +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 +} + |