diff options
Diffstat (limited to 'extra/xorg-xbacklight/PKGBUILD')
-rw-r--r-- | extra/xorg-xbacklight/PKGBUILD | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/extra/xorg-xbacklight/PKGBUILD b/extra/xorg-xbacklight/PKGBUILD index 5ed14c78c..fd40c6117 100644 --- a/extra/xorg-xbacklight/PKGBUILD +++ b/extra/xorg-xbacklight/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 113718 2011-03-10 14:54:32Z jgc $ +# $Id: PKGBUILD 151182 2012-02-25 07:02:48Z allan $ # Maintainer: Jan de Groot <jgc@archlinux.org> pkgname=xorg-xbacklight pkgver=1.1.2 -pkgrel=2 +pkgrel=3 pkgdesc="RandR-based backlight control application" -arch=(i686 x86_64) +arch=('i686' 'x86_64') url="http://xorg.freedesktop.org/" license=('custom') depends=('libxrandr' 'libx11') @@ -18,7 +18,10 @@ build() { cd "${srcdir}/xbacklight-${pkgver}" ./configure --prefix=/usr make +} + +package() { + cd "${srcdir}/xbacklight-${pkgver}" make DESTDIR="${pkgdir}" install - install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" - install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" + install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" } |