35 lines
1,015 B
Bash
35 lines
1,015 B
Bash
# Template file for 'umurmur'
|
|
pkgname=umurmur
|
|
version=0.2.18
|
|
revision=1
|
|
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.org>"
|
|
license="BSD-3-clause"
|
|
homepage="http://umurmur.net/"
|
|
distfiles="https://github.com/umurmur/umurmur/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
|
|
checksum=f72c2fe802c8ab2c8dc66eb5da1fbe0c3ee73aef16abf06bba94cc69e595354f
|
|
|
|
system_accounts="umurmur"
|
|
umurmur_homedir="/var/lib/umurmur"
|
|
make_dirs="/var/lib/umurmur 0750 umurmur umurmur"
|
|
|
|
pre_configure() {
|
|
./autogen.sh
|
|
vsed -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
|
|
}
|
|
|