summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée2015-11-30 03:20:33 +0100
committerMattias Andrée2015-11-30 03:20:33 +0100
commit2d9665913bbaed773836768fbd83d77b5a34e6ca (patch)
treeb6400332c226e03115d81bbf3d9f009e175ecf87
parentcad9298d284156fc335f2e3c5d21bb528622db83 (diff)
downloadaur-2d9665913bbaed773836768fbd83d77b5a34e6ca.tar.gz
Update to 1.3
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD7
-rw-r--r--crt-calibrator.install20
3 files changed, 29 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8906198506b..8aededca5be 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,9 @@
pkgbase = crt-calibrator
pkgdesc = CRT monitor calibrator utility for Linux VT
- pkgver = 1.2
+ pkgver = 1.3
pkgrel = 1
url = https://github.com/maandree/crt-calibrator
+ install = crt-calibrator.install
arch = i686
arch = x86_64
license = GPL3
@@ -12,11 +13,12 @@ pkgbase = crt-calibrator
makedepends = glibc
makedepends = libdrm
makedepends = linux
+ makedepends = texinfo
depends = glibc
depends = libdrm
depends = linux
- source = https://github.com/maandree/crt-calibrator/archive/1.2.tar.gz
- sha256sums = f03c3236f57272de6046a258776d374dacb8f8e84c7b9a03e2895e505ea3e9e7
+ source = https://github.com/maandree/crt-calibrator/archive/1.3.tar.gz
+ sha256sums = 17bf4efafac1817d4bd8f2a1307e60365dc0a5847c45fa731ccd36490af01eee
pkgname = crt-calibrator
diff --git a/PKGBUILD b/PKGBUILD
index 46819773feb..6860039c215 100644
--- a/PKGBUILD
+++ b/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/crt-calibrator.install b/crt-calibrator.install
new file mode 100644
index 00000000000..4328413b337
--- /dev/null
+++ b/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
+}
+