#Maintainer: Dimitris Tzemos pkgname=clementine pkgver=1.2.1 pkgrel=1dj source=("http://clementine-player.googlecode.com/files/clementine-$pkgver.tar.gz") url="http://www.clementine-player.org/" docs=('COPYING' 'ChangeLog' 'TODO') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname (music player)" "Clementine is a multiplatform music player. It is inspired by Amarok" "1.4, focusing on a fast and easy-to-use interface for searching and" "playing your music." ) build() { # how many build jobs? JOBS="-j$(($(getconf _NPROCESSORS_ONLN)*2))" NUMJOBS="${NUMJOBS:-"${JOBS}"}" cd $startdir/src/${pkgname}-${pkgver} mkdir build cd build cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DENABLE_LIBLASTFM=1 \ -DENABLE_VISUALISATIONS=1 \ -DBUILD_WERROR=OFF \ .. make $NUMJOBS || return 1 make DESTDIR=$startdir/pkg/ install || return 1 }