void-packages/srcpkgs/upmpdcli/template

26 lines
879 B
Bash

# Template file for 'upmpdcli'
pkgname=upmpdcli
version=1.7.9
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config tar"
makedepends="jsoncpp-devel libcurl-devel libmicrohttpd-devel libmpdclient-devel libupnpp-devel"
short_desc="UPnP Media Renderer front-end for MPD"
maintainer="amak <amak.git@outlook.com>"
license="LGPL-2.1-or-later"
homepage="https://www.lesbonscomptes.com/upmpdcli"
changelog="https://www.lesbonscomptes.com/upmpdcli/pages/releases.html"
distfiles="https://www.lesbonscomptes.com/upmpdcli/downloads/upmpdcli-${version}.tar.gz"
checksum=e0a92acd4c1d292d170fa5247a9014cb7f81a1288c1e4de22b5a8c052223e7b5
python_version=3
system_accounts="_upmpdcli"
_upmpdcli_homedir="/var/lib/upmpdcli"
make_dirs="/var/lib/upmpdcli 0750 _upmpdcli _upmpdcli"
conf_files="/etc/upmpdcli.conf"
post_install() {
chmod 644 ${DESTDIR}/etc/upmpdcli.conf
vsv upmpdcli
}