void-packages/srcpkgs/upmpdcli/template

25 lines
794 B
Bash

# Template file for 'upmpdcli'
pkgname=upmpdcli
version=1.5.12
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config tar"
makedepends="jsoncpp-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"
distfiles="https://www.lesbonscomptes.com/upmpdcli/downloads/upmpdcli-${version}.tar.gz"
checksum=1d7b6ab360c2549a7e3eff4f261471761dd837e18327a3ca29de1981c090ff3b
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
}