aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-11-30 04:10:45 +0100
committerMattias Andrée <maandree@operamail.com>2015-11-30 04:10:45 +0100
commit53d7927147ec1d7d267f8074ea8d30051cb284c5 (patch)
treede7547cbf5f719918f27dda01d6f33e507ad9101
parentm info + add direntry to info (diff)
downloadadjbacklight-53d7927147ec1d7d267f8074ea8d30051cb284c5.tar.gz
adjbacklight-53d7927147ec1d7d267f8074ea8d30051cb284c5.tar.bz2
adjbacklight-53d7927147ec1d7d267f8074ea8d30051cb284c5.tar.xz
update dist
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r--.gitignore1
-rw-r--r--dist/archlinux/stable/PKGBUILD5
-rw-r--r--dist/archlinux/stable/adjbacklight.install20
3 files changed, 24 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index 202cdf6..7df2bd8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -20,6 +20,7 @@ obj/
/dist/*/*/*
!/dist/*/*/PKGBUILD
+!/dist/*/*/adjbacklight.install
*.gz
*.xz
diff --git a/dist/archlinux/stable/PKGBUILD b/dist/archlinux/stable/PKGBUILD
index 83144dc..db8faf1 100644
--- a/dist/archlinux/stable/PKGBUILD
+++ b/dist/archlinux/stable/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
pkgname=adjbacklight
-pkgver=7.3.1
+pkgver=7.3.2
pkgrel=1
pkgdesc="Convenient method for adjusting the backlight on your portable computer"
arch=('x86_64' 'i686')
@@ -9,8 +9,9 @@ url="https://github.com/maandree/adjbacklight"
license=('GPL3')
depends=('linux')
makedepends=('texinfo' 'auto-auto-complete')
+install=adjbacklight.install
source=(https://github.com/maandree/adjbacklight/archive/${pkgver}.tar.gz)
-sha256sums=(bc8d5e1d0bed99c63e05a6d36a6816b91ebf373cf11ba6a8fb8533d3acdbe478)
+sha256sums=(75b7760a2cda157b0a27d3d4290c73e6b4219d9b08a3b6f466e8486aa6be7d0a)
build() {
diff --git a/dist/archlinux/stable/adjbacklight.install b/dist/archlinux/stable/adjbacklight.install
new file mode 100644
index 0000000..ab4d945
--- /dev/null
+++ b/dist/archlinux/stable/adjbacklight.install
@@ -0,0 +1,20 @@
+_file="adjbacklight"
+
+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
+}
+