21 lines
756 B
Bash
21 lines
756 B
Bash
# Template file for 'chrony_exporter'
|
|
pkgname=chrony_exporter
|
|
version=0.11.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=3323bde89a4e8cb356956e8fdcb02d2854614ebb87e67a5563427c577090b5d2
|
|
|
|
post_install() {
|
|
vsv chrony_exporter
|
|
}
|