# Template file for 'galene'
pkgname=galene
version=1.0
revision=1
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=663639649ab417cddbb8d88b16cfc2f8a2391903f27a25b16e0239202ae2245e
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
}
