From a2f3b7bc25c659542b20c5b252324cf8477f05a3 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 12 Oct 2017 22:37:49 +0200 Subject: Rewrite with style (and relicense) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- dist/archlinux/stable/PKGBUILD | 26 -------------------------- dist/archlinux/stable/adjbacklight.install | 20 -------------------- 2 files changed, 46 deletions(-) delete mode 100644 dist/archlinux/stable/PKGBUILD delete mode 100644 dist/archlinux/stable/adjbacklight.install (limited to 'dist/archlinux/stable') diff --git a/dist/archlinux/stable/PKGBUILD b/dist/archlinux/stable/PKGBUILD deleted file mode 100644 index db8faf1..0000000 --- a/dist/archlinux/stable/PKGBUILD +++ /dev/null @@ -1,26 +0,0 @@ -# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org> - -pkgname=adjbacklight -pkgver=7.3.2 -pkgrel=1 -pkgdesc="Convenient method for adjusting the backlight on your portable computer" -arch=('x86_64' 'i686') -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=(75b7760a2cda157b0a27d3d4290c73e6b4219d9b08a3b6f466e8486aa6be7d0a) - - -build() { - cd "${srcdir}/adjbacklight-${pkgver}" - make DESTDIR="${pkgdir}/" -} - -package() { - cd "${srcdir}/adjbacklight-${pkgver}" - make DESTDIR="${pkgdir}/" install -} - diff --git a/dist/archlinux/stable/adjbacklight.install b/dist/archlinux/stable/adjbacklight.install deleted file mode 100644 index ab4d945..0000000 --- a/dist/archlinux/stable/adjbacklight.install +++ /dev/null @@ -1,20 +0,0 @@ -_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 -} - -- cgit v1.2.3-70-g09d2