# Template file for 'snmp_exporter' pkgname=snmp_exporter version=0.28.0 revision=1 build_style=go go_import_path="github.com/prometheus/snmp_exporter" go_ldflags="-X github.com/prometheus/common/version.Version=${version} -X github.com/prometheus/common/version.Revision=${version} -X github.com/prometheus/common/version.Branch=${version} -X github.com/prometheus/common/version.BuildDate=$(date --date "@$SOURCE_DATE_EPOCH" "+%Y%m%d-%H:%M:%S") -X github.com/prometheus/common/version.BuildUser=VoidLinux" make_dirs="/etc/snmp_exporter 0755 root root" makedepends="net-snmp-devel" short_desc="SNMP Exporter for Prometheus" maintainer="Leah Neukirchen " license="Apache-2.0" homepage="https://github.com/prometheus/snmp_exporter" distfiles="https://github.com/prometheus/snmp_exporter/archive/refs/tags/v${version}.tar.gz" checksum=3e64caf5650c99d20d19c23c5a4b4695defdabcdf812b57d02af20766e7591a8 system_accounts="_${pkgname}" post_install() { vsconf snmp.yml vsv ${pkgname} }