[arch-commits] Commit in loki/trunk (PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Thu Jan 23 20:10:35 UTC 2020
Date: Thursday, January 23, 2020 @ 20:10:34
Author: jelle
Revision: 373856
Update loki to 1.3.0
Modified:
loki/trunk/PKGBUILD
----------+
PKGBUILD | 16 +++++++---------
1 file changed, 7 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-01-23 20:03:40 UTC (rev 373855)
+++ PKGBUILD 2020-01-23 20:10:34 UTC (rev 373856)
@@ -1,7 +1,7 @@
# Maintainer: Jelle van der Waa <jelle at archlinux.org>
pkgname=loki
-pkgver=1.2.0
+pkgver=1.3.0
pkgrel=1
pkgdesc='like Prometheus, but for logs'
url='https://github.com/grafana/loki'
@@ -8,10 +8,10 @@
arch=('x86_64')
license=('Apache')
depends=('glibc')
-makedepends=('go-pie' 'git')
+makedepends=('go-pie')
backup=('etc/loki/loki.yaml' 'etc/loki/promtail.yaml')
-source=($pkgname-$pkgver.tar.gz::https://github.com/grafana/loki/archive/v1.2.0.tar.gz)
-sha512sums=('2a522b0c5b7bddbdf810c229dbd21a2fcac3717d1fc940bfa98f74f5e86000cb36ec17ae2ef900a7b302997860a9d8b904f1e23d18964365579d6a4a39665918')
+source=($pkgname-$pkgver.tar.gz::https://github.com/grafana/loki/archive/v$pkgver.tar.gz)
+sha512sums=('db2c5e81b2b24d884f2c56531e577beae693cc06e30fe74b4d89b6b1c3857992396aeb46877ab5b787b268741cc9de75fd5ed53c548de6abac701afe97477df2')
build() {
cd loki-$pkgver
@@ -19,14 +19,12 @@
LDFLAGS="-extldflags $LDFLAGS"
go build \
- -gcflags "all=-trimpath=$PWD" \
- -asmflags "all=-trimpath=$PWD" \
+ -trimpath \
-ldflags "$LDFLAGS" \
./cmd/loki
go build \
- -gcflags "all=-trimpath=$PWD" \
- -asmflags "all=-trimpath=$PWD" \
+ -trimpath \
-ldflags "$LDFLAGS" \
./cmd/promtail
}
@@ -34,7 +32,7 @@
check() {
cd loki-$pkgver
- go test ./...
+ go test -v $(go list ./... | grep -v "distributor")
}
package() {
More information about the arch-commits
mailing list