void-packages/srcpkgs/chrony_exporter/template

19 lines
631 B
Bash

# Template file for 'chrony_exporter'
pkgname=chrony_exporter
version=0.10.1
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=93aa56b0fa2b2616b7b3723aa80a3e9e1acf684fe71e55931ef7ce6ca6c28490
post_install() {
vsv chrony_exporter
}