37 lines
1.1 KiB
Bash
37 lines
1.1 KiB
Bash
# Template file for 'umurmur'
|
|
pkgname=umurmur
|
|
version=0.2.19
|
|
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/"
|
|
changelog="https://github.com/umurmur/umurmur/raw/master/ChangeLog"
|
|
distfiles="https://github.com/umurmur/umurmur/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
|
|
checksum=338053160bc48e48850061cdfc19cf1b2bb66e56877c04cd6de7831b468646b6
|
|
|
|
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
|
|
}
|
|
|