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

pkgname=gmpc-last-fm
pkgver=0.20.0
pkgrel=1tm
source=("http://download.sarine.nl/Programs/gmpc/$pkgver/gmpc-last-fm-$pkgver.tar.gz")
url="http://gmpc.wikia.com/"
docs=('COPYING')

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"$pkgname (a gmpc plugin)"
"The plugin fetches metadata using last.fm's web api."
)

build() {
	cd $startdir/src/${pkgname}-${pkgver}
	./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --disable-static
	make -j3 || return 1
	make DESTDIR=$startdir/pkg/ install || return 1
}