aboutsummaryrefslogtreecommitdiffstats
path: root/dist/archlinux/stable
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dist/archlinux/stable/PKGBUILD7
-rw-r--r--dist/archlinux/stable/crt-calibrator.install20
2 files changed, 24 insertions, 3 deletions
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
+}
+