# Maintainer: Sam Stuewe pkgname=enlighten-git pkgver=0 pkgrel=2 pkgdesc='A small tool to modify LCD backlight brightness' url='https://github.com/HalosGhost/enlighten' arch=('i686' 'x86_64') license=('GPL3') makedepends=('git' 'clang' 'python-docutils') 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 } package () { cd enlighten make DESTDIR="$pkgdir" PREFIX="/usr" install }