aboutsummaryrefslogtreecommitdiffstats
path: root/testing/upmpdcli/APKBUILD
blob: 39d0007e1e155f303b200959f1293c8f95b7cfbc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Contributor: Marvin Steadfast <marvin@xsteadfastx.org>
# Maintainer: Marvin Steadfast <marvin@xsteadfastx.org>
pkgname=upmpdcli
pkgver=1.5.12
pkgrel=0
pkgdesc="upmpdcli is a UPnP Media Renderer front-end for MPD, the Music Player Daemon"
pkgusers="upmpdcli"
url="https://www.lesbonscomptes.com/upmpdcli"
arch="all"
license="LGPL-2.1-or-later"
options="!check"
makedepends="libupnpp-dev libmpdclient-dev libmicrohttpd-dev jsoncpp-dev"
subpackages="$pkgname-doc $pkgname-openrc"
install="$pkgname.pre-install $pkgname.post-install"
source="$pkgname-$pkgver.tar.gz::https://www.lesbonscomptes.com/upmpdcli/downloads/upmpdcli-$pkgver.tar.gz
	$pkgname.initd
	$pkgname.conf"

build() {
	./configure --prefix=/usr --sysconfdir=/etc
	make
}

package() {
	make DESTDIR="$pkgdir" install

	install -Dm755 "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
	install -Dm644 "$srcdir"/$pkgname.conf "$pkgdir"/etc/$pkgname.conf
	mkdir -p "$pkgdir"/var/cache/upmpdcli
}

sha512sums="ebe8076e3f99b525df115d11940a46a518725a34dcdfbb42eb763b6e148beb968a8e2015c4dd9e696224f3da2745b7356b3094de68332f50590a3421372f1dfc  upmpdcli-1.5.12.tar.gz
f586c538abb51f373bf8a8277132694ad289f9c23de9389cb5c9cb67fdbec192529645b759f745ddeca3ce24893580b0ce0d344a8e75b3fd1edd021a0335f617  upmpdcli.initd
b6815c29e8c648fd7577f9137f1552dab96710e80458a19fc332c6382471c47fdc056c8e3e1353fc982610173e498b96df8fd18de93f5546773a22e02e58886d  upmpdcli.conf"