void-packages/srcpkgs/chrony_exporter/template

18 lines
543 B
Bash

# Template file for 'chrony_exporter'
pkgname=chrony_exporter
version=0.9.0
revision=1
build_style=go
go_import_path="github.com/superq/chrony_exporter"
depends="chrony"
short_desc="Prometheus exporter for Chrony NTP"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="Apache-2.0"
homepage="https://github.com/SuperQ/chrony_exporter"
distfiles="https://github.com/SuperQ/chrony_exporter/archive/refs/tags/v${version}.tar.gz"
checksum=c91aef717933fb2b712f7a0a5dbf63b096b430ed190e01ebd13d60eee783f6f2
post_install() {
vsv chrony_exporter
}