void-packages/srcpkgs/mtail/template

25 lines
721 B
Bash
Raw Normal View History

2024-07-13 15:44:29 +02:00
# Template file for 'mtail'
pkgname=mtail
2024-08-16 22:26:04 +02:00
version=3.0.9
2024-08-15 05:01:07 +02:00
revision=2
2024-07-13 15:44:29 +02:00
build_style=go
go_import_path="github.com/google/mtail"
go_package="${go_import_path}/cmd/..."
go_ldflags="-X main.Branch=main -X main.Version=${version} -X main.Revision=v${version}"
short_desc="Extract monitoring data from logs for metrics collection"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="Apache-2.0"
homepage="https://github.com/google/mtail"
distfiles="https://github.com/google/mtail/archive/refs/tags/v${version}.tar.gz"
2024-08-16 22:26:04 +02:00
checksum=16c59fe81d2b192bd57b988b00ca16f943ed85746ed2081de44127d5c7d0a439
2024-07-13 15:44:29 +02:00
post_install() {
vsv mtail
for f in examples/*.mtail; do
vsconf $f
done
vinstall mtail-mode.el 644 usr/share/emacs/site-lisp
}