# Maintainer: Marcin (CTRL) Wieczorek # Contributor: Fredrik Haikarainen pkgname=light-git pkgver=1.0.r6.g674ada0 pkgrel=1 pkgdesc='Program to easily change brightness on backlight-controllers.' arch=('i686' 'x86_64') url="https://github.com/haikarainen/light" license=('GPL3') makedepends=('git' 'help2man') conflicts=('light') provides=('light') source=('git+https://github.com/haikarainen/light.git') sha256sums=('SKIP') pkgver() { cd "$srcdir/light" git describe --tags --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } build(){ cd "$srcdir/light" make } package(){ cd "$srcdir/light" make DESTDIR="$pkgdir/" install }