# Template file for 'galene'
pkgname=galene
version=0.8
revision=2
build_style=go
go_import_path=github.com/jech/galene
short_desc="Galene videoconference server"
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
license="MIT"
homepage="https://galene.org"
distfiles="https://github.com/jech/galene/archive/refs/tags/galene-$version.tar.gz"
checksum=9970e3407a773511f6b74da789a9ea4bdb24fd6b09b0067c7476506ac1543c91
system_accounts="_galene"
make_dirs="/etc/galene/ 0750 root _galene
 /var/lib/galene 0750 _galene _galene"

post_install() {
	vlicense LICENCE
	vmkdir usr/share/galene/
	vcopy static usr/share/galene/
	vsv galene
}
