summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorThomas Fanninger2017-02-04 15:53:50 +0100
committerThomas Fanninger2017-02-04 15:53:50 +0100
commitfe57cc744bcf21e9d2e652fd7e62990cae762bb6 (patch)
tree0215e37c11e2793bf22fc97adc194cf005272de0 /PKGBUILD
parentc2dcb7c65b69d53bb811f38ec0498148497b9361 (diff)
downloadaur-fe57cc744bcf21e9d2e652fd7e62990cae762bb6.tar.gz
Bugfix
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD17
1 files changed, 10 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 3cbe0a46389..e4654c476b0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,12 +2,12 @@
pkgname=prometheus-snmp-exporter-bin
pkgver=0.2.0
-pkgrel=1
+pkgrel=2
pkgdesc="SNMP Exporter for Prometheus (binary, not built from source)"
arch=('i686' 'x86_64' 'armv5h' 'armv6h' 'armv7h')
url="https://github.com/prometheus/snmp_exporter"
license=('Apache')
-depends=()
+depends=('prometheus')
makedepends=()
provides=('prometheus-snmp-exporter')
conflicts=('prometheus-snmp-exporter')
@@ -23,15 +23,15 @@ source_armv6h=('prometheus-snmp-exporter.service'
source_armv7h=('prometheus-snmp-exporter.service'
"https://github.com/prometheus/snmp_exporter/releases/download/v${pkgver}/snmp_exporter-${pkgver}.linux-armv7.tar.gz")
-sha512sums_i686=('7ea90c72c41cdce3a11bbb293f448b64606ff768808b55cd262cd7e9c72b49ebce5adf87b9b1177a01fd5dc7e0af8898c40068f778e9c4376641f9f192987f3d'
+sha512sums_i686=('b5a24fc6539b6285287b41fc12cbbe6d7ce04c6f6ba93c160fc5aa9d42a497689b7eb5fc0f84be5f32fa566b8dc1d5a79b79e1f96949a311d122f06310813326'
'212e1dc23adb661923755571cae741160d31bf48fb6f4cac066929aa6653e5e552f0b6021465a345dc674105ad59c1c86c6e6c9f3193e36ead344f8b0a1682dd')
-sha512sums_x86_64=('7ea90c72c41cdce3a11bbb293f448b64606ff768808b55cd262cd7e9c72b49ebce5adf87b9b1177a01fd5dc7e0af8898c40068f778e9c4376641f9f192987f3d'
+sha512sums_x86_64=('b5a24fc6539b6285287b41fc12cbbe6d7ce04c6f6ba93c160fc5aa9d42a497689b7eb5fc0f84be5f32fa566b8dc1d5a79b79e1f96949a311d122f06310813326'
'8c437c142fbc5ed77ab910ee79501f9e0775c6d7b16d4ce76a427c6dd34b90eeb2c21794546a52fd34ee69700422352c0b964cb435e3bd9c3b37003b432b38de')
-sha512sums_armv5h=('7ea90c72c41cdce3a11bbb293f448b64606ff768808b55cd262cd7e9c72b49ebce5adf87b9b1177a01fd5dc7e0af8898c40068f778e9c4376641f9f192987f3d'
+sha512sums_armv5h=('b5a24fc6539b6285287b41fc12cbbe6d7ce04c6f6ba93c160fc5aa9d42a497689b7eb5fc0f84be5f32fa566b8dc1d5a79b79e1f96949a311d122f06310813326'
'a640bc125235f5a387378c043cad4dc369866ff6846a0bf79c861a81edce5adebf708590924a1665622273928577bd6235c7382572b0f5065b996c04d0c0a624')
-sha512sums_armv6h=('7ea90c72c41cdce3a11bbb293f448b64606ff768808b55cd262cd7e9c72b49ebce5adf87b9b1177a01fd5dc7e0af8898c40068f778e9c4376641f9f192987f3d'
+sha512sums_armv6h=('b5a24fc6539b6285287b41fc12cbbe6d7ce04c6f6ba93c160fc5aa9d42a497689b7eb5fc0f84be5f32fa566b8dc1d5a79b79e1f96949a311d122f06310813326'
'28c5240e2587b09091f60fa5924875c65fccdb1c903e178280c7e3919b1dc851fb4aed9e71fb3199ac088334bd0e7645031b93cb81ea17ebd645455471062437')
-sha512sums_armv7h=('7ea90c72c41cdce3a11bbb293f448b64606ff768808b55cd262cd7e9c72b49ebce5adf87b9b1177a01fd5dc7e0af8898c40068f778e9c4376641f9f192987f3d'
+sha512sums_armv7h=('b5a24fc6539b6285287b41fc12cbbe6d7ce04c6f6ba93c160fc5aa9d42a497689b7eb5fc0f84be5f32fa566b8dc1d5a79b79e1f96949a311d122f06310813326'
'ad67e3425bd21aad35adf27e2f08307fc05eac08e1b2202593e4b26f6ff50851a36f7de2b452acc4a87d47a1c45f4191a8fb1cd4b8ddb2bc20595d1612d453fe')
package() {
@@ -42,4 +42,7 @@ package() {
# Install SystemD Service File
install -D -m0755 "${srcdir}/prometheus-snmp-exporter.service" "${pkgdir}/usr/lib/systemd/system/prometheus-snmp-exporter.service"
+
+ # Install snmp.yml
+ install -D -m644 "${srcdir}/snmp.yml" "${pkgdir}/etc/prometheus/snmp.yml"
} \ No newline at end of file