void-packages/srcpkgs/alertmanager/template

27 lines
1,020 B
Bash
Raw Normal View History

2017-11-09 00:54:35 -05:00
# Template file for 'alertmanager'
pkgname=alertmanager
2018-02-13 23:37:05 -05:00
version=0.14.0
2018-03-30 16:30:04 +00:00
revision=3
2017-11-09 00:54:35 -05:00
build_style=go
go_import_path="github.com/prometheus/alertmanager"
go_package="${go_import_path}/cmd/alertmanager ${go_import_path}/cmd/amtool"
go_ldflags="-X ${go_import_path}/version.Version=${version}
-X ${go_import_path}/version.Revision=${version}
-X ${go_import_path}/version.Branch=${version}
-X ${go_import_path}/version.BuildUser=VoidLinux"
short_desc="Handles alerts sent by client applications such as the Prometheus server"
conf_files="/etc/alertmanager.yml"
maintainer="Toyam Cox <Vaelatern@voidlinux.eu>"
license="Apache-2.0"
homepage="https://github.com/prometheus/alertmanager"
distfiles="https://github.com/prometheus/alertmanager/archive/v${version}.tar.gz"
2018-02-13 23:37:05 -05:00
checksum=f25bd1dad2eb3e050f1208650571195194b0c2362c488a7ad5ca60f40ca866ac
2017-11-09 00:54:35 -05:00
system_accounts="_alertmanager"
make_dirs="/var/lib/alertmanager 700 _alertmanager _alertmanager"
post_install() {
vconf doc/examples/simple.yml alertmanager.yml
vsv alertmanager
}