# Template file for 'telegraf' pkgname=telegraf version=1.7.1 revision=1 build_style="go" go_import_path="github.com/influxdata/telegraf" go_package="${go_import_path}/cmd/telegraf" go_ldflags="-X main.version=${version}" hostmakedepends="go-gdm git" system_accounts="_telegraf" short_desc="The plugin-driven server agent for collecting & reporting metrics" maintainer="Michael Aldridge " license="MIT" homepage="https://www.influxdata.com/time-series-platform/telegraf/" distfiles="https://github.com/influxdata/${pkgname}/archive/${version}.tar.gz" checksum=9fb9c1883c1d778a7a0af7711b5adafccd4586bcae4ccec438576153c80c62b3 pre_build() { cd $GOSRCPATH gdm restore } post_install() { vlicense LICENSE vsv ${pkgname} }