[arch-commits] Commit in alertmanager/trunk (PKGBUILD)
Johannes Löthberg
demize at archlinux.org
Wed Apr 24 21:39:19 UTC 2019
Date: Wednesday, April 24, 2019 @ 21:39:18
Author: demize
Revision: 352098
upgpkg: alertmanager 0.16.0-4
Modified:
alertmanager/trunk/PKGBUILD
----------+
PKGBUILD | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-04-24 21:39:00 UTC (rev 352097)
+++ PKGBUILD 2019-04-24 21:39:18 UTC (rev 352098)
@@ -2,7 +2,7 @@
pkgname=alertmanager
pkgver=0.16.0
-pkgrel=3
+pkgrel=4
pkgdesc="Service which handles alerts sent by client applications such as the Prometheus server"
url="https://github.com/prometheus/alertmanager"
arch=(x86_64)
@@ -28,7 +28,12 @@
go install \
-gcflags "all=-trimpath=$GOPATH" \
-asmflags "all=-trimpath=$GOPATH" \
- -ldflags "-extldflags $LDFLAGS" \
+ -ldflags "-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 at builder \
+ -X github.com/prometheus/common/version.BuildDate=$SOURCE_DATE_EPOCH" \
-v ./...
}
More information about the arch-commits
mailing list