diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-11-30 03:20:51 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-11-30 03:20:51 +0100 |
commit | 9ded3651d70ac24b8f6f07d52a268c605cd3a90f (patch) | |
tree | f283ac88ebacaeae5d175e144c1e938f013abe85 /dist/archlinux/stable | |
parent | update makefile (diff) | |
download | crt-calibrator-9ded3651d70ac24b8f6f07d52a268c605cd3a90f.tar.gz crt-calibrator-9ded3651d70ac24b8f6f07d52a268c605cd3a90f.tar.bz2 crt-calibrator-9ded3651d70ac24b8f6f07d52a268c605cd3a90f.tar.xz |
update dist
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | dist/archlinux/stable/PKGBUILD | 7 | ||||
-rw-r--r-- | dist/archlinux/stable/crt-calibrator.install | 20 |
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 +} + |