Date: Saturday, December 10, 2016 @ 14:57:46 Author: seblu Revision: 198733
upgpkg: grafana 4.0.2-1 Modified: grafana/trunk/PKGBUILD ----------+ PKGBUILD | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2016-12-10 13:24:39 UTC (rev 198732) +++ PKGBUILD 2016-12-10 14:57:46 UTC (rev 198733) @@ -4,13 +4,13 @@ # Contributor: Gilles Hamel <hamelg at laposte dot net> pkgname=grafana -pkgver=3.1.1 +pkgver=4.0.2 pkgrel=1 pkgdesc='Gorgeous metric viz, dashboards & editors for Graphite, InfluxDB & OpenTSDB' url='http://grafana.org' arch=('x86_64' 'i686') license=('Apache') -depends=('glibc') +depends=('glibc' 'freetype2' 'fontconfig') makedepends=('git' 'go' 'npm') backup=("etc/grafana.ini") source=("git+https://github.com/grafana/grafana.git#tag=v$pkgver" @@ -30,8 +30,8 @@ local filename for filename in "${source[@]}"; do if [[ "$filename" =~ \.patch$ ]]; then - msg2 "Applying patch $filename" - patch -p1 -N -i "$srcdir/$filename" + msg2 "Applying patch ${filename##*/}" + patch -p1 -N -i "$srcdir/${filename##*/}" fi done : @@ -43,11 +43,10 @@ export PATH="$PATH:$GOPATH/bin" mkdir -p "$GOPATH/src/github.com/grafana/" ln -fsr "$srcdir/grafana/" "$GOPATH/src/github.com/grafana/grafana" - cd grafana + cd "$GOPATH/src/github.com/grafana/grafana" # building the backend go run build.go setup - godep restore go run build.go build # building the frontend
