summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Rawlinson2022-10-07 20:16:44 +1300
committerGeorge Rawlinson2022-10-07 20:16:44 +1300
commit9cb0005ee69de771cb451955de3029d6f1725d67 (patch)
treeeb81b0bd990a84dea8bb45a246255e2bc5107ce3
parent758a36b01045e80157e3c31ef6fd6722a40a8da6 (diff)
downloadaur-9cb0005ee69de771cb451955de3029d6f1725d67.tar.gz
upgpkg: prometheus-pgbouncer-exporter 0.5.1-1
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD12
2 files changed, 8 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f0313cf4774c..7c28f3b3ce9f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = prometheus-pgbouncer-exporter
pkgdesc = Prometheus exporter for PgBouncer metrics
- pkgver = 0.4.1
+ pkgver = 0.5.1
pkgrel = 1
url = https://github.com/prometheus-community/pgbouncer_exporter
arch = x86_64
@@ -10,7 +10,7 @@ pkgbase = prometheus-pgbouncer-exporter
depends = glibc
optdepends = pgbouncer: for monitoring a local pgbouncer instance
options = !lto
- source = prometheus-pgbouncer-exporter::git+https://github.com/prometheus-community/pgbouncer_exporter.git#commit=6f7e6de674d3b7d412a5960b7d2e849e40c1d76b
+ source = prometheus-pgbouncer-exporter::git+https://github.com/prometheus-community/pgbouncer_exporter.git#commit=b9e5fbf8a4d0ac7facdacd77b0ad19e4daab2fc4
source = systemd.service
source = sysusers.conf
b2sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 0d0beb8d82b2..76ae2ac6267d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,17 +1,17 @@
# Maintainer: George Rawlinson <george@rawlinson.net.nz>
pkgname=prometheus-pgbouncer-exporter
-pkgver=0.4.1
+pkgver=0.5.1
pkgrel=1
-pkgdesc="Prometheus exporter for PgBouncer metrics"
+pkgdesc='Prometheus exporter for PgBouncer metrics'
arch=('x86_64')
-url="https://github.com/prometheus-community/pgbouncer_exporter"
+url='https://github.com/prometheus-community/pgbouncer_exporter'
license=('MIT')
depends=('glibc')
makedepends=('git' 'go')
optdepends=('pgbouncer: for monitoring a local pgbouncer instance')
options=('!lto')
-_commit='6f7e6de674d3b7d412a5960b7d2e849e40c1d76b'
+_commit='b9e5fbf8a4d0ac7facdacd77b0ad19e4daab2fc4'
source=("$pkgname::git+$url.git#commit=$_commit"
'systemd.service'
'sysusers.conf')
@@ -46,8 +46,8 @@ build() {
-ldflags "-linkmode external -extldflags ${LDFLAGS} \
-X github.com/prometheus/common/version.Version=$pkgver \
-X github.com/prometheus/common/version.Revision=$pkgver \
- -X github.com/prometheus/common/version.Branch=tarball \
- -X github.com/prometheus/common/version.BuildUser=someone@builder \
+ -X github.com/prometheus/common/version.Branch=main \
+ -X github.com/prometheus/common/version.BuildUser=makepkg \
-X github.com/prometheus/common/version.BuildDate=$(date -d@"$SOURCE_DATE_EPOCH" +%Y%m%d-%H:%M:%S)" \
-o "build/$pkgname" \
.