mirror of
https://github.com/void-linux/void-packages.git
synced 2025-10-11 13:05:11 +02:00
20 lines
756 B
Bash
20 lines
756 B
Bash
# Template file for 'chrony_exporter'
|
|
pkgname=chrony_exporter
|
|
version=0.12.0
|
|
revision=1
|
|
build_style=go
|
|
go_import_path="github.com/superq/chrony_exporter"
|
|
go_ldflags="-X github.com/prometheus/common/version.Version=${version}
|
|
-X github.com/prometheus/common/version.Branch=main"
|
|
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=8a5e8e3f6b75b89d6cc8cb9db72ff04eb3cdb95301db0924b554832668736aa0
|
|
|
|
post_install() {
|
|
vsv chrony_exporter
|
|
}
|