From dba89e0159540f719fc1792c07e574df0f5c159c Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 30 Nov 2015 03:57:37 +0100 Subject: update dist MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- dist/archlinux/stable/.gitignore | 4 ++++ dist/archlinux/stable/PKGBUILD | 5 +++-- dist/archlinux/stable/mongoclock.install | 20 ++++++++++++++++++++ 3 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 dist/archlinux/stable/.gitignore create mode 100644 dist/archlinux/stable/mongoclock.install (limited to 'dist') 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 +} + -- cgit v1.2.3-70-g09d2