#Maintainer: Thorsten Muehlfelder #Mandatory pkgname=exaile pkgver=0.3.0.2 pkgrel=1tm arch=i686 source=("http://www.launchpad.net/exaile/0.3.0/$pkgver/+download/exaile-$pkgver.tar.gz") sourcetemplate=http://thenktor.dyndns.org/packages/${pkgname}-dev/ docs=('copying' 'changelog' 'todo' 'license.txt') options=('noautodotnew') url="http://www.exaile.org/" 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 sed -i 's#^PREFIX\ ?=\ /usr/local$#PREFIX\ ?=\ /usr#' Makefile || return 1 make || return 1 make 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 }