snapcast: fix man page and conf file installation

This commit is contained in:
amak 2020-09-18 12:10:57 +10:00 committed by John Zimmermann
parent e6e489fc08
commit e7cdf7c13c
1 changed files with 9 additions and 7 deletions

View File

@ -1,9 +1,10 @@
# Template file for 'snapcast'
pkgname=snapcast
version=0.21.0
revision=1
revision=2
build_style=cmake
configure_args="-DBUILD_WITH_TREMOR=OFF -DBUILD_WITH_AVAHI=$(vopt_if avahi ON OFF)"
configure_args="-DBUILD_WITH_TREMOR=OFF -DBUILD_WITH_AVAHI=$(vopt_if avahi ON OFF)
-DCMAKE_INSTALL_SYSCONFDIR=/etc"
hostmakedepends="pkg-config"
makedepends="alsa-lib-devel boost-devel expat-devel libflac-devel libsoxr-devel
libvorbis-devel opus-devel $(vopt_if avahi avahi-libs-devel)"
@ -34,8 +35,8 @@ snapclient_package() {
make_dirs="/var/lib/snapclient 0750 _snapclient _snapclient"
pkg_install() {
vmove /usr/bin/snapclient
vman client/snapclient.1
vmove usr/bin/snapclient
vmove usr/share/man/man1/snapclient.1
vsv snapclient
}
}
@ -50,9 +51,10 @@ snapserver_package() {
conf_files="/etc/snapserver.conf"
pkg_install() {
vmove /usr/bin/snapserver
vman server/snapserver.1
vconf server/etc/snapserver.conf
vmove usr/bin/snapserver
vmove usr/share/man/man1/snapserver.1
vmove usr/share/snapserver/snapweb
vmove etc/snapserver.conf
vsv snapserver
}
}