void-packages/srcpkgs/umurmur/template
cr6git 144e2ce7aa libconfig: update to 1.7.1.
Closes: #10469 [via git-merge-pr]
2018-01-06 19:06:42 +01:00

35 lines
1,013 B
Bash

# Template file for 'umurmur'
pkgname=umurmur
version=0.2.17
revision=2
build_style=gnu-configure
configure_args="--enable-shmapi --with-ssl=openssl"
conf_files="/etc/umurmur/umurmur.conf"
hostmakedepends="automake libtool"
makedepends="libconfig-devel libressl-devel protobuf-c-devel"
short_desc="Minimalistic Mumble server"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="3-clause-BSD"
homepage="http://umurmur.net/"
distfiles="https://github.com/umurmur/umurmur/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=e77b7b6616768f4a1c07442afe49a772692f667b00c23cc85909d4dd0ce206d2
system_accounts="umurmur"
umurmur_homedir="/var/lib/umurmur"
make_dirs="/var/lib/umurmur 0750 umurmur umurmur"
pre_configure() {
./autogen.sh
sed -i \
-e 's/# username = "";/username = "umurmur";/' \
-e 's/# groupname = "";/groupname = "umurmur";/' \
umurmur.conf.example
}
post_install() {
vdoc README.md
vlicense LICENSE
vinstall umurmur.conf.example 644 etc/umurmur umurmur.conf
vsv umurmurd
}