#Maintainer Dimitris Tzemos pkgname=volti pkgver=0.2.3 pkgrel=3dj source=("http://volti.googlecode.com/files/volti-$pkgver.tar.gz" "volti-0.2.3-notify_body_fix.patch" "volti-remove-dbus-version-check.patch") sourcetemplate=http://people.salixos.org/djemos/salix/openbox/$pkgname 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.3-notify_body_fix.patch || exit 1 patch -Np1 <$startdir/src/volti-remove-dbus-version-check.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 }