# Maintainer: Natanael Copa pkgname=xbacklight pkgver=1.2.3 pkgrel=0 pkgdesc="Adjusts backlight level using the RandR 1.2 output property" url="http://xorg.freedesktop.org" arch="all" license="MIT" subpackages="$pkgname-doc" makedepends="libx11-dev libxrandr-dev xcb-util-wm-dev" source="https://www.x.org/releases/individual/app/$pkgname-$pkgver.tar.bz2" build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --mandir=/usr/share/man make } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="717c87ce24634892fc4ac54fc59dcc0a5bc8f206aaf1d13410f95f7e4fe6e3dbc7ff8d951bcd8ea8c5e955357a00fea6ceadd4559e60b1a632e40f71290e12c7 xbacklight-1.2.3.tar.bz2"