summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO6
-rw-r--r--.gitignore7
-rw-r--r--PKGBUILD8
3 files changed, 14 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5d7a6dce0b9..81b6f3eb4bf 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,14 @@
pkgbase = prometheus-xmpp-blackbox-exporter
pkgdesc = A Prometheus exporter which probes XMPP based services.
- pkgver = 0.4.0
+ pkgver = 0.5.0
pkgrel = 1
url = https://github.com/horazont/xmpp-blackbox-exporter
arch = x86_64
license = Apache
makedepends = go
depends = glibc
- source = xmpp-blackbox-exporter-0.4.0.tar.gz::https://github.com/horazont/xmpp-blackbox-exporter/archive/v0.4.0.tar.gz
- sha256sums = fe833dc0062a8d8c82624659fe7986982e6002e0fe90a04001b1dd69b625956c
+ source = xmpp-blackbox-exporter-0.5.0.tar.gz::https://github.com/horazont/xmpp-blackbox-exporter/archive/v0.5.0.tar.gz
+ sha256sums = e9675b6128817479adeec4235d009657055a18155936b214a5955bf079db861c
pkgname = prometheus-xmpp-blackbox-exporter
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..13ebca0ec59
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,7 @@
+pkg/
+src/
+*.tar
+*.tar.gz
+*.tar.xz
+*.tar.zstd
+*.zip
diff --git a/PKGBUILD b/PKGBUILD
index 22bb7309f0b..b4555b49039 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
_pkgname=xmpp-blackbox-exporter
pkgname=prometheus-${_pkgname}
-pkgver=0.4.0
+pkgver=0.5.0
pkgrel=1
pkgdesc='A Prometheus exporter which probes XMPP based services.'
arch=(x86_64)
@@ -11,7 +11,7 @@ license=('Apache')
depends=(glibc)
makedepends=(go)
source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/horazont/${_pkgname}/archive/v${pkgver}.tar.gz")
-sha256sums=('fe833dc0062a8d8c82624659fe7986982e6002e0fe90a04001b1dd69b625956c')
+sha256sums=('e9675b6128817479adeec4235d009657055a18155936b214a5955bf079db861c')
check() {
cd "${_pkgname}-${pkgver}/"
@@ -24,12 +24,12 @@ build() {
-trimpath \
-ldflags "-extldflags ${LDFLAGS}" \
-buildmode=pie \
- ./cmd/prometheus-xmpp-blackbox-exporter
+ ./cmd/xmpp_blackbox_exporter
}
package() {
cd "${_pkgname}-${pkgver}/"
- install -Dm755 prometheus-xmpp-blackbox-exporter -t "${pkgdir}"/usr/bin/
+ install -Dm755 xmpp_blackbox_exporter -t "${pkgdir}"/usr/bin/
install -Dm644 example.yml -t "${pkgdir}"/etc/${_pkgname}
}