void-packages/srcpkgs/chrony_exporter/template

19 lines
631 B
Bash

# Template file for 'chrony_exporter'
pkgname=chrony_exporter
version=0.10.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"
changelog="https://raw.githubusercontent.com/SuperQ/chrony_exporter/main/CHANGELOG.md"
distfiles="https://github.com/SuperQ/chrony_exporter/archive/refs/tags/v${version}.tar.gz"
checksum=d3c0b208706b458fc9cb113758403030138fc4642a478fc52435861a2739f75f
post_install() {
vsv chrony_exporter
}