#Maintainer: Dimitris Tzemos pkgname=bangarang pkgver=1.0.1 pkgrel=1dj source=("http://bangarangissuetracking.googlecode.com/files/$pkgname-$pkgver.tar.gz" "el.po.patch") url="http://bangarangkde.wordpress.com/" docs=('COPYING' 'COPYING.DOC' 'README' 'TESTING' 'HACKING') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname (multimedia player)" "Bangarang makes it easy to enjoy your, Music, Movies, TV shows," "Audio and video feeds, Audio streams, Audio and Video clips," "CDs and DVDs" "Bangarang is designed for your KDE powered desktop." "Fully integrated with KDE’s Nepomuk semantic desktop, Bangarang has" "access to indexed media information and automatically shares its own" "media information, rating, tags and usage statistics with other KDE" "powered applications." ) build() { # how many build jobs? JOBS="-j$(($(getconf _NPROCESSORS_ONLN)*2))" NUMJOBS="${NUMJOBS:-"${JOBS}"}" cd $startdir/src/${pkgname}-${pkgname} patch -p1 < $startdir/src/el.po.patch || return 1 mkdir build cd build cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DMAN_INSTALL_DIR=/usr/man \ .. make $NUMJOBS || return 1 make DESTDIR=$startdir/pkg/ install || return 1 }