#Maintainer: Thorsten Muehlfelder # Mandatory pkgname=qtscrobbler pkgver=0.9 pkgrel=1 zenver=60 arch=i486 source=("http://213.203.218.125/q/qt/qtscrob/qtscrob-$pkgver.tar.bz2") sourcetemplate=http://thenktor.dyndns.org/packages/$pkgname/ # Optional url="http://qtscrob.sourceforge.net/" docs=('AUTHORS' 'CHANGELOG' 'README' 'COPYING') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname - last.fm update tool" "QTScrobbler is tool for submitting .scrobbler.log from portable" "players to Last.fm. It is written in c++ using qt4 library by" "trolltech." ) build() { cd $startdir/src/qtscrob-${pkgver} cd src/qt qmake || return 1 sed -i 's#/usr/local/#/usr/#'g Makefile || return 1 sed -i 's#Icon=qtscrob.png#Icon=qtscrob' qtscrob.desktop make -j2 || return 1 make INSTALL_ROOT=$startdir/pkg/ install mkdir -p $startdir/pkg/usr/share/icons/hicolor/48x48/apps cp resources/icons/128.png $startdir/pkg/usr/share/icons/hicolor/48x48/apps/qtscrob.png mogrify -geometry 48x48 $startdir/pkg/usr/share/icons/hicolor/48x48/apps/qtscrob.png || return 1 } # Doinst #doinst() { #}