diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -2,7 +2,7 @@ # Contributor: Gilles Hamel <hamelg at laposte dot net> _pkgname=grafana pkgname=${_pkgname}-git -pkgver=v2.0.2.r470.g37d7590 +pkgver=v2.0.2.r566.ga386733 pkgrel=1 pkgdesc="A general purpose dashboard and graph composer. It supports graphite, influxdb or opentsdb" url="http://grafana.org" @@ -16,7 +16,7 @@ source=("git+https://github.com/${_pkgname}/${_pkgname}" "config.patch" "grafana.service") md5sums=('SKIP' - 'd5691b6e4f0ac0e0aa010801c9870d30' + 'f676cfe7bdd2463e2600ff8fce75a2d6' '05508c9c21f4c93ad86944a52d37e925') pkgver() { @@ -52,6 +52,8 @@ build() { package() { install -Dm644 "${srcdir}/grafana.service" "$pkgdir/usr/lib/systemd/system/grafana.service" cd "${srcdir}/${_pkgname}" + install -dm755 "${pkgdir}/var/lib/grafana" + install -dm755 "${pkgdir}/var/log/grafana" install -Dsm755 bin/grafana-server "$pkgdir/usr/bin/grafana-server" install -Dm644 tmp/conf/sample.ini "$pkgdir/etc/${_pkgname}/${_pkgname}.ini" install -Dm644 tmp/conf/defaults.ini "$pkgdir/usr/share/grafana/conf/defaults.ini" |