#Packager: George Vlahavas pkgname=batti pkgver=0.3.8 pkgrel=1dj source=("https://batti-gtk.googlecode.com/files/batti-$pkgver.tar.gz" "upower-0.99.patch") docs=("authors" "install" "readme*" "copying" "changelog") url=https://code.google.com/p/batti-gtk/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "batti (A UPower based battery monitor for the system tray)" "Batti is a simple battery monitor for the system tray, similar to" "batterymon. Unlike the latter batti uses UPower, and if that is" "missing DeviceKit.Power, for it's power information." ) build() { cd $startdir/src/$pkgname-$pkgver patch -p1 -i "$startdir/src/upower-0.99.patch" python setup.py install --prefix=/usr --root=$startdir/pkg }