#Maintainer: Thorsten Muehlfelder pkgname=exaile pkgver=0.3.1.2 pkgrel=1tm source=("http://www.launchpad.net/exaile/0.3.1/$pkgver/+download/exaile-$pkgver.tar.gz") docs=('copying' 'changelog' 'todo' 'license.txt') options=('noautodotnew') url="http://www.exaile.org/" # extradeps: dbus-python,gstreamer,gst-plugins-base,gst-plugins-good,gst-python,mutagen,pycairo,pygobject,pygtk,python slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname - GTK+ music player similar to Amarok" "Exaile is a music player aiming to be similar to KDE's Amarok, but for" "GTK+ and written in Python. It incorporates many of the cool things" "from Amarok (and other media players) like automatic fetching of album" "art, handling of large libraries, lyrics fetching, artist/album" "information via Wikipedia, Last.fm submission support, and optional" "iPod support via a plugin." ) build() { cd $startdir/src/exaile-$pkgver make || return 1 make PREFIX=/usr LIBINSTALLDIR=/lib${LIBDIRSUFFIX} DESTDIR=$startdir/pkg install || return 1 # create icons if [ -e "$startdir/pkg/usr/share/icons/hicolor/48x48/apps" ]; then echo "perhaps icons already exists?" return 1 fi mkdir -p $startdir/pkg/usr/share/icons/hicolor/48x48/apps || return 1 cp data/images/48x48/exaile.png $startdir/pkg/usr/share/icons/hicolor/48x48/apps/exaile.png || return 1 }