#Maintainer: Thorsten Muehlfelder <thenktor(at)gmx.de>

pkgname=qmmp
pkgver=0.4.3
pkgrel=1tm
source=("http://qmmp.ylsoftware.com/files/qmmp-$pkgver.tar.bz2")
url="http://qmmp.ylsoftware.com"
docs=('AUTHORS' 'ChangeLog' 'ChangeLog.svn' 'COPYING' 'README')

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"$pkgname (an audio player)"
"This program is an audio-player, written with help of Qt library. The"
"user interface is similar to winamp or xmms. Alternative user"
"interfaces also are available."
)

build() {
	cd $startdir/src/${pkgname}-${pkgver}
	mkdir build
	cd build
	cmake \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_BUILD_TYPE=Release \
		-DMAN_INSTALL_DIR=/usr/man \
		-DSYSCONF_INSTALL_DIR=/etc/kde \
		..
	make -j $numjobs || return 1
	make DESTDIR=$startdir/pkg/ install || return 1
}