aboutsummaryrefslogtreecommitdiffstats
path: root/dist/archlinux/stable
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-11-30 03:57:37 +0100
committerMattias Andrée <maandree@operamail.com>2015-11-30 03:57:37 +0100
commitdba89e0159540f719fc1792c07e574df0f5c159c (patch)
tree0586eba80ec06a342e8fad1f47fab2a8df55a814 /dist/archlinux/stable
parentupdate dist (diff)
downloadmongotimer-dba89e0159540f719fc1792c07e574df0f5c159c.tar.gz
mongotimer-dba89e0159540f719fc1792c07e574df0f5c159c.tar.bz2
mongotimer-dba89e0159540f719fc1792c07e574df0f5c159c.tar.xz
update dist
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'dist/archlinux/stable')
-rw-r--r--dist/archlinux/stable/.gitignore4
-rw-r--r--dist/archlinux/stable/PKGBUILD5
-rw-r--r--dist/archlinux/stable/mongoclock.install20
3 files changed, 27 insertions, 2 deletions
diff --git a/dist/archlinux/stable/.gitignore b/dist/archlinux/stable/.gitignore
new file mode 100644
index 0000000..81fed16
--- /dev/null
+++ b/dist/archlinux/stable/.gitignore
@@ -0,0 +1,4 @@
+*
+!/PKGBUILD
+!/mongoclock.install
+!/.gitignore
diff --git a/dist/archlinux/stable/PKGBUILD b/dist/archlinux/stable/PKGBUILD
index b213a60..b77c0ed 100644
--- a/dist/archlinux/stable/PKGBUILD
+++ b/dist/archlinux/stable/PKGBUILD
@@ -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/dist/archlinux/stable/mongoclock.install b/dist/archlinux/stable/mongoclock.install
new file mode 100644
index 0000000..e9a601a
--- /dev/null
+++ b/dist/archlinux/stable/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
+}
+