# Maintainer: Piotr Miller pkgname=('obhud') pkgver=0.2.3 pkgrel=2 pkgdesc="Script for handling laptop-specific keys and events in Openbox" arch=('i686' 'x86_64') url="https://github.com/nwg-piotr/obhud" license=('GPL3') depends=('xorg-xbacklight' 'xorg-xrandr' 'libxrandr' 'alsa-utils' 'python' 'python-pmw' 'python-pillow' 'xf86-input-synaptics' 'ffmpeg' 'python-lxml' 'python-setuptools') optdepends=('light-git: For machines not handling xbacklight') source=("https://github.com/nwg-piotr/obhud/raw/master/dist/obhud-0.2.3.tar.gz" "https://github.com/nwg-piotr/obhud/raw/master/dist/obhud" "https://github.com/nwg-piotr/obhud/raw/master/dist/obhud.conf" "https://github.com/nwg-piotr/obhud/raw/master/dist/timer.sh") md5sums=('423b36b8a90de04516487c6ab85c7690' '3fc138d07ab29cf86d184a730b7902bd' '8f3afd928dd1cdbfa5252cf614e392a4' '6c9b537c6f32d3047a2b691d8ef600a7') package() { install -D -m 755 obhud \ "$pkgdir"/usr/bin/obhud install -D -m 644 obhud.conf \ "$pkgdir"/etc/obhud/obhud.conf install -D -m 755 timer.sh \ "$pkgdir"/etc/obhud/timer.sh cd "$srcdir/$pkgname-$pkgver" python setup.py install --root="$pkgdir/" --optimize=1 }