summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhuoyun Wei2016-05-11 18:00:31 +0800
committerZhuoyun Wei2016-05-11 18:00:43 +0800
commit243c157e526883fe88b80eb1178fc7a082d122bc (patch)
tree3bb113be580197eb6c9525e35c42b77ffeb87b26
parenteccddee493df6f5f71d0f39ee0ec4cdd39716f81 (diff)
downloadaur-243c157e526883fe88b80eb1178fc7a082d122bc.tar.gz
[grafana-bin] 3.0.1
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD10
2 files changed, 9 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 441e6dd9f07..404a07f5bc3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = grafana-bin
pkgdesc = A general purpose dashboard and graph composer. It supports graphite, influxdb or opentsdb - binary version
- pkgver = 2.6.0
+ pkgver = 3.0.1
pkgrel = 1
url = http://grafana.org
install = grafana.install
@@ -9,9 +9,9 @@ pkgbase = grafana-bin
provides = grafana
conflicts = grafana
backup = etc/grafana/grafana.ini
- source = https://grafanarel.s3.amazonaws.com/builds/grafana-2.6.0.linux-x64.tar.gz
+ source = https://grafanarel.s3.amazonaws.com/builds/grafana-3.0.1-.linux-x64.tar.gz
source = grafana.service
- sha256sums = 4b0d61b42168e8e3368c91c1783908bd23ab07a203d26e9572f855b565e18ac4
+ sha256sums = 0d6739ab4f2008f77f7993b5703d7905ba8b79e5162ee7d7e25636e216139893
sha256sums = 44ceb7aad648c8e46a65026109fc0327bc6e01ba7060d97d9e83a3e8ad65379c
pkgname = grafana-bin
diff --git a/PKGBUILD b/PKGBUILD
index 347ed5a8828..5a60470ccdf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,8 @@
pkgname=grafana-bin
_pkgname=grafana
-pkgver=2.6.0
+pkgver="3.0.1"
+_pkgver="3.0.1-"
pkgrel=1
pkgdesc="A general purpose dashboard and graph composer. It supports graphite, influxdb or opentsdb - binary version"
url="http://grafana.org"
@@ -14,18 +15,19 @@ arch=('x86_64')
license=('Apache')
install=${_pkgname}.install
backup=("etc/${_pkgname}/${_pkgname}.ini")
-source=("https://grafanarel.s3.amazonaws.com/builds/${_pkgname}-${pkgver}.linux-x64.tar.gz"
+source=("https://grafanarel.s3.amazonaws.com/builds/${_pkgname}-${_pkgver}.linux-x64.tar.gz"
"grafana.service")
-sha256sums=('4b0d61b42168e8e3368c91c1783908bd23ab07a203d26e9572f855b565e18ac4'
+sha256sums=('0d6739ab4f2008f77f7993b5703d7905ba8b79e5162ee7d7e25636e216139893'
'44ceb7aad648c8e46a65026109fc0327bc6e01ba7060d97d9e83a3e8ad65379c')
package() {
install -Dm644 "${srcdir}/grafana.service" "$pkgdir/usr/lib/systemd/system/grafana.service"
- cd "${srcdir}/${_pkgname}-${pkgver}"
+ cd "${srcdir}/${_pkgname}-${_pkgver}"
install -dm755 "${pkgdir}/var/lib/grafana"
install -dm755 "${pkgdir}/var/log/grafana"
install -Dm755 bin/grafana-server "$pkgdir/usr/bin/grafana-server"
+ install -Dm755 bin/grafana-cli "$pkgdir/usr/bin/grafana-cli"
install -Dm644 conf/sample.ini "$pkgdir/etc/${_pkgname}/${_pkgname}.ini"
install -Dm644 conf/defaults.ini "$pkgdir/usr/share/grafana/conf/defaults.ini"
cp -r vendor public "$pkgdir/usr/share/grafana/"