# Template file for 'matterircd'
pkgname=matterircd
version=0.28.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=a23a1ac6a5dda8aa0a25261b6a5ce1084b63b626fe65cb94e8581c8bb0482c64

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
}
