From 9ded3651d70ac24b8f6f07d52a268c605cd3a90f Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 30 Nov 2015 03:20:51 +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/PKGBUILD | 7 ++++--- dist/archlinux/stable/crt-calibrator.install | 20 ++++++++++++++++++++ 2 files changed, 24 insertions(+), 3 deletions(-) create mode 100644 dist/archlinux/stable/crt-calibrator.install (limited to 'dist') diff --git a/dist/archlinux/stable/PKGBUILD b/dist/archlinux/stable/PKGBUILD index 4681977..6860039 100644 --- a/dist/archlinux/stable/PKGBUILD +++ b/dist/archlinux/stable/PKGBUILD @@ -1,16 +1,17 @@ # Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org> pkgname=crt-calibrator -pkgver=1.2 +pkgver=1.3 pkgrel=1 pkgdesc="CRT monitor calibrator utility for Linux VT" url="https://github.com/maandree/crt-calibrator" arch=(i686 x86_64) license=(GPL3) depends=(glibc libdrm linux) -makedepends=(make coreutils gcc glibc libdrm linux) +makedepends=(make coreutils gcc glibc libdrm linux texinfo) +install=crt-calibrator.install source=("${url}/archive/${pkgver}.tar.gz") -sha256sums=(f03c3236f57272de6046a258776d374dacb8f8e84c7b9a03e2895e505ea3e9e7) +sha256sums=(17bf4efafac1817d4bd8f2a1307e60365dc0a5847c45fa731ccd36490af01eee) build() { cd "${srcdir}/crt-calibrator-${pkgver}" diff --git a/dist/archlinux/stable/crt-calibrator.install b/dist/archlinux/stable/crt-calibrator.install new file mode 100644 index 0000000..4328413 --- /dev/null +++ b/dist/archlinux/stable/crt-calibrator.install @@ -0,0 +1,20 @@ +_file="passcheck" + +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