25 lines
721 B
Bash
25 lines
721 B
Bash
# Template file for 'mtail'
|
|
pkgname=mtail
|
|
version=3.0.9
|
|
revision=2
|
|
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"
|
|
checksum=16c59fe81d2b192bd57b988b00ca16f943ed85746ed2081de44127d5c7d0a439
|
|
|
|
post_install() {
|
|
vsv mtail
|
|
|
|
for f in examples/*.mtail; do
|
|
vsconf $f
|
|
done
|
|
|
|
vinstall mtail-mode.el 644 usr/share/emacs/site-lisp
|
|
}
|