Add openvpn_exporter
This commit is contained in:
parent
30a78c2947
commit
d4735d9cbe
24
v3.15/openvpn_exporter/APKBUILD
Normal file
24
v3.15/openvpn_exporter/APKBUILD
Normal file
@ -0,0 +1,24 @@
|
||||
# Contributor: Stefan Reimer <stefan@zero-downtime.net>
|
||||
# Maintainer: Stefan Reimer <stefan@zero-downtime.net>
|
||||
pkgname=openvpn_exporter
|
||||
pkgver=0.3.1
|
||||
pkgrel=0
|
||||
pkgdesc="OpenVPN Prometheus Exporter"
|
||||
url="https://github.com/StuartApp/openvpn_exporter.git"
|
||||
arch="x86_64 aarch64"
|
||||
license="AGPL-3.0"
|
||||
makedepends="go bash"
|
||||
options="!check chmod-clean"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/StuartApp/openvpn_exporter/archive/refs/tags/v"$pkgver".tar.gz"
|
||||
|
||||
build() {
|
||||
go build -ldflags "-s -w" -o build/openvpn_exporter
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm755 build/openvpn_exporter "$pkgdir"/usr/bin/openvpn_exporter
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
4133003120b3a76a46cc146c26e7418bf7e2db3c16ce3f621b28a3fa06516373388fd469d48f499526baa3f6b36cb8887a835f2833e6f315cdf18502949d2bb1 openvpn_exporter-0.3.1.tar.gz
|
||||
"
|
Loading…
Reference in New Issue
Block a user