12345678910111213141516171819202122232425262728293031
  1. # Maintainer: Fredrik Haikarainen <fredrik.haikarainen@gmail.com>
  2. pkgname=light
  3. pkgver=1.1.2.r61.g9d8ca6b
  4. pkgrel=1
  5. pkgdesc='Application to control hardware lights, backlights, leds.'
  6. arch=('i686' 'x86_64')
  7. url="https://github.com/haikarainen/light"
  8. license=('GPL3')
  9. makedepends=('git')
  10. conflicts=('light-git')
  11. provides=('light-git')
  12. source=('git+https://github.com/haikarainen/light.git')
  13. sha256sums=('SKIP')
  14. pkgver() {
  15. cd "$srcdir/light"
  16. git describe --tags --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
  17. }
  18. build(){
  19. cd "$srcdir/light"
  20. ./autogen.sh
  21. ./configure --with-udev --prefix=/usr
  22. make
  23. }
  24. package(){
  25. cd "$srcdir/light"
  26. make DESTDIR="$pkgdir/" install
  27. }