#Packager: George Vlahavas pkgname=volti pkgver=0.2.2 pkgrel=1gv source=("http://volti.googlecode.com/files/volti-$pkgver.tar.gz" "volti-0.2.2-notify_body_fix.patch") docs=("authors" "install" "readme" "copying" "changelog") url=http://code.google.com/p/volti/ options=('noautodotnew') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "volti (GTK+ application for controlling audio volume from system tray)" "Volti is a GTK+ application for controlling audio volume from the" "system tray/notification area. It supports ALSA, multimedia keys on" "the keyboard, and desktop notifications on keys events." ) build() { cd $startdir/src/$pkgname-$pkgver patch -p1 < $startdir/src/volti-0.2.2-notify_body_fix.patch || exit 1 python setup.py install --prefix=/usr --root=$startdir/pkg mkdir -p $startdir/pkg/etc/xdg/autostart cp $startdir/pkg/usr/share/applications/volti.desktop $startdir/pkg/etc/xdg/autostart/ sed -i "s/Exec=volti/Exec=volti-mixer/" $startdir/pkg/usr/share/applications/volti.desktop }