From 7c82097d5e4fdb0e86b643b8a0b56bcb54b54efe Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 6 Oct 2013 03:42:26 +0200 Subject: fix and improve make file 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 | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'dist/archlinux/stable/PKGBUILD') diff --git a/dist/archlinux/stable/PKGBUILD b/dist/archlinux/stable/PKGBUILD index c22b70a..e06d18f 100644 --- a/dist/archlinux/stable/PKGBUILD +++ b/dist/archlinux/stable/PKGBUILD @@ -1,6 +1,6 @@ # Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org> pkgname=adjbacklight -pkgver=4.1 +pkgver=6 pkgrel=1 pkgdesc="Convient method for adjusting the backlight on your portable computer" arch=('any') @@ -10,15 +10,15 @@ depends=('java-runtime>=6') makedepends=('java-environment>=6' 'bash') provides=('adjbacklight') conflicts=('adjbacklight') -source=(https://github.com/maandree/adjbacklight/tarball/4.1) -md5sums=(d95432aa9216c68966e92d8be14483a6) +source=(https://github.com/maandree/adjbacklight/archive/${pkgver}.tar.gz) +sha256sums=(8f8dc4307368534abd28560ee8447ca0be389c22b3e6398190b3af884f1fa42a) build() { - cd maandree-adjbacklight-* - make -B DESTDIR="$pkgdir/" + cd "${srcdir}/adjbacklight-${pkgver}" + make -B DESTDIR="${pkgdir}/" } package() { - cd maandree-adjbacklight-* - make DESTDIR="$pkgdir/" install + cd "${srcdir}/adjbacklight-${pkgver}" + make DESTDIR="${pkgdir}/" install } -- cgit v1.2.3-70-g09d2