diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-11-30 04:10:45 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-11-30 04:10:45 +0100 |
commit | 53d7927147ec1d7d267f8074ea8d30051cb284c5 (patch) | |
tree | de7547cbf5f719918f27dda01d6f33e507ad9101 /dist/archlinux/stable | |
parent | m info + add direntry to info (diff) | |
download | adjbacklight-53d7927147ec1d7d267f8074ea8d30051cb284c5.tar.gz adjbacklight-53d7927147ec1d7d267f8074ea8d30051cb284c5.tar.bz2 adjbacklight-53d7927147ec1d7d267f8074ea8d30051cb284c5.tar.xz |
update dist
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | dist/archlinux/stable/PKGBUILD | 5 | ||||
-rw-r--r-- | dist/archlinux/stable/adjbacklight.install | 20 |
2 files changed, 23 insertions, 2 deletions
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 +} + |