mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
New package: upmpdcli-1.4.5
This commit is contained in:
parent
0fdffb8fcf
commit
ef74207f5b
3 changed files with 28 additions and 0 deletions
2
srcpkgs/upmpdcli/files/upmpdcli/log/run
Executable file
2
srcpkgs/upmpdcli/files/upmpdcli/log/run
Executable file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
exec logger -t upmpdcli -p daemon.notice
|
3
srcpkgs/upmpdcli/files/upmpdcli/run
Executable file
3
srcpkgs/upmpdcli/files/upmpdcli/run
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
[ -r conf ] && . ./conf
|
||||||
|
exec chpst -u _upmpdcli upmpdcli ${OPTS:- -c /etc/upmpdcli.conf} 2>&1
|
23
srcpkgs/upmpdcli/template
Normal file
23
srcpkgs/upmpdcli/template
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
# Template file for 'upmpdcli'
|
||||||
|
pkgname=upmpdcli
|
||||||
|
version=1.4.5
|
||||||
|
revision=1
|
||||||
|
build_style=gnu-configure
|
||||||
|
hostmakedepends="pkg-config"
|
||||||
|
makedepends="jsoncpp-devel libmicrohttpd-devel libmpdclient-devel libupnp-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=af0c13b6ab8720d98451307010c33462e9a3f50178bae82c593fd2dd12e31b0e
|
||||||
|
|
||||||
|
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
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue