[arch-commits] Commit in grafana/trunk (PKGBUILD)

Sébastien Luttringer seblu at archlinux.org
Sun Aug 19 19:59:09 UTC 2018


    Date: Sunday, August 19, 2018 @ 19:59:08
  Author: seblu
Revision: 372806

upgpkg: grafana 5.2.2-1

Modified:
  grafana/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-19 19:02:48 UTC (rev 372805)
+++ PKGBUILD	2018-08-19 19:59:08 UTC (rev 372806)
@@ -4,7 +4,7 @@
 # Contributor: Gilles Hamel <hamelg at laposte dot net>
 
 pkgname=grafana
-pkgver=5.1.3
+pkgver=5.2.2
 pkgrel=1
 pkgdesc='Gorgeous metric viz, dashboards & editors for Graphite, InfluxDB & OpenTSDB'
 url='http://grafana.org'
@@ -46,7 +46,8 @@
   cd "$GOPATH/src/github.com/grafana/grafana"
 
   msg2 'building the backend'
-  go run build.go setup build
+  go run build.go setup
+  go run build.go build
 
   msg2 'building the frontend'
   export NPM_CONFIG_PREFIX="$srcdir/npm"
@@ -61,8 +62,8 @@
   install -Dm644 grafana.sysusers "$pkgdir/usr/lib/sysusers.d/grafana.conf"
   install -Dm644 grafana.service "$pkgdir/usr/lib/systemd/system/grafana.service"
   cd $pkgname
-  install -Dsm755 bin/grafana-server "$pkgdir/usr/bin/grafana-server"
-  install -Dsm755 bin/grafana-cli "$pkgdir/usr/bin/grafana-cli"
+  install -Dsm755 bin/linux-amd64/grafana-server "$pkgdir/usr/bin/grafana-server"
+  install -Dsm755 bin/linux-amd64/grafana-cli "$pkgdir/usr/bin/grafana-cli"
   install -Dm640 -o207 -g207 conf/sample.ini "$pkgdir/etc/$pkgname.ini"
   install -Dm644 conf/defaults.ini "$pkgdir/usr/share/$pkgname/conf/defaults.ini"
   install -dm755 "$pkgdir/usr/share/grafana/"



More information about the arch-commits mailing list