# Contributor: Marvin Steadfast <marvin@xsteadfastx.org>
# Maintainer: Marvin Steadfast <marvin@xsteadfastx.org>
pkgname=upmpdcli
pkgver=1.2.15
pkgrel=2
pkgdesc="upmpdcli is a UPnP Media Renderer front-end for MPD, the Music Player Daemon"
url="http://www.lesbonscomptes.com/upmpdcli"
arch="all !armhf"
license="GPL-2.0"
options="!check"
depends=""
makedepends="libupnpp-dev libmpdclient-dev libmicrohttpd-dev jsoncpp-dev"
install=""
subpackages="$pkgname-doc"
source="upmpdcli-$pkgver.tar.gz::http://www.lesbonscomptes.com/upmpdcli/downloads/upmpdcli-$pkgver.tar.gz"
builddir="$srcdir/upmpdcli-$pkgver"

build() {
	cd "$builddir"
	./configure --prefix=/usr --sysconfdir=/etc
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="4a62aced9fa2395752164332c84bf3dedd7b793e7e37638cfe063e887d52b9ce956c866de2aa1cddb7a4dcad97562050f9588aedd59e49e7d427671179f9258a  upmpdcli-1.2.15.tar.gz"
