#Maintainer: Frederic Boulet bipbiponlinux~AT~gmail.com pkgname=eina-audio-player pkgver=0.14.0 zenver=72 pkgrel=1 arch=i686 source=("http://launchpad.net/eina/trunk/$pkgver/+download/eina-$pkgver.tar.gz") sourcetemplate=http://zenwalk.pinguix.com/user-accounts/bip/EXTRA/xap/$pkgname docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "maintainers") url=http://eina.sourceforge.net/about.php options=('norequiredbuilder' 'keepdepfile' 'noautodotnew') doinst() { # update the mime desktop database if [ -x usr/bin/update-desktop-database ]; then usr/bin/update-desktop-database -q fi # update the mime database if [ -x usr/bin/update-mime-database ]; then usr/bin/update-mime-database usr/share/mime > /dev/null 2>&1 fi # glib2 compile schemas if [ -x usr/bin/glib-compile-schemas ]; then usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas fi } slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "eina (It just plays music. but does it pretty well)" "Current music players are focused on managing your music collection," "while using mandatory criteria about how they organize it.Eina does" "not care about it at all. If your are an organized person, chances" "are your music collection is organized too, and you won't like to" "spend your time rearranging it to follow your player's specific rules." "In addition, having those players to arrange music that's randomly" "stored, named or tagged, is usually counterproductive." ) build() { cd $startdir/src/eina-$pkgver ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc \ --disable-static make || return 1 make install DESTDIR=$startdir/pkg # Fix desktop file sed -i -e "s|Icon=/usr/share/eina/pixmaps/eina|Icon=eina|g" $startdir/pkg/usr/share/applications/eina.desktop # Fix icon mkdir -p $startdir/pkg/usr/share/icons/hicolor/48x48/apps/ cp $startdir/pkg/usr/share/eina/icons/hicolor/48x48/apps/eina.png $startdir/pkg/usr/share/icons/hicolor/48x48/apps/ }