# Template file for 'matterircd'
pkgname=matterircd
version=0.30.0
revision=1
build_style=go
go_import_path=github.com/42wim/matterircd
short_desc="Connect to your mattermost or slack using your IRC-client of choice"
maintainer="Felix Van der Jeugt <felixvdj+github@posteo.be>"
license="MIT"
homepage="https://github.com/42wim/matterircd"
changelog="https://github.com/42wim/matterircd/releases"
distfiles="https://github.com/42wim/matterircd/archive/refs/tags/v${version}.tar.gz"
checksum=8dc003073489a345b28d93f9c793d72eed94c0285d9916af0ed8ff79c89b5774

system_accounts="_matterircd"
_matterircd_homedir="/var/lib/matterircd"
make_dirs="/var/lib/matterircd 0700 _matterircd _matterircd
 /etc/matterircd 0755 root root"

post_install() {
	vsconf matterircd.toml.example matterircd.toml
	vlicense LICENSE
	vsv matterircd
}
