void-packages/srcpkgs/chrony_exporter/template

18 lines
543 B
Bash

# Template file for 'chrony_exporter'
pkgname=chrony_exporter
version=0.9.2
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=3c33ab6c3f73d2917c8ecf586c5296510209046c27ac16f64b3eba7f95ac8193
post_install() {
vsv chrony_exporter
}