# Maintainer: Sam Stuewe pkgname=enlighten-git pkgver=v0.9.1.r1.gf195a00 pkgrel=1 pkgdesc='A small tool to modify LCD backlight brightness' url='https://github.com/HalosGhost/enlighten' arch=('i686' 'x86_64') license=('GPL3') makedepends=('git' 'scdoc') source=('git+https://github.com/HalosGhost/enlighten.git') sha256sums=('SKIP') pkgver () { cd enlighten git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } prepare () { cd enlighten ./configure # --device=' } build () { cd enlighten make CONFIGURATION=release bin doc } package () { cd enlighten make CONFIGURATION=release DESTDIR="$pkgdir" PREFIX="/usr" install }