[arch-commits] Commit in grafana-zabbix/repos/community-any (PKGBUILD PKGBUILD)
Florian Pritz
bluewind at gemini.archlinux.org
Sun Apr 10 13:10:21 UTC 2022
Date: Sunday, April 10, 2022 @ 13:10:20
Author: bluewind
Revision: 1184959
archrelease: copy trunk to community-any
Added:
grafana-zabbix/repos/community-any/PKGBUILD
(from rev 1184958, grafana-zabbix/trunk/PKGBUILD)
Deleted:
grafana-zabbix/repos/community-any/PKGBUILD
----------+
PKGBUILD | 72 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 36 insertions(+), 36 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-04-10 13:10:17 UTC (rev 1184958)
+++ PKGBUILD 2022-04-10 13:10:20 UTC (rev 1184959)
@@ -1,36 +0,0 @@
-# Maintainer: Florian Pritz <bluewind at xinu.at>
-pkgname=grafana-zabbix
-pkgver=4.2.5
-pkgrel=1
-pkgdesc="Zabbix plugin for Grafana dashboard"
-arch=('any')
-url="https://github.com/alexanderzobnin/grafana-zabbix"
-license=('APACHE')
-depends=('grafana')
-makedepends=(yarn python2 libfaketime go git nodejs-lts-fermium) # node-sass depends on node-gyp 3.8.0 which is still python2 https://github.com/sass/node-sass/issues/2877
-source=("$pkgname-$pkgver.tar.gz::https://github.com/alexanderzobnin/grafana-zabbix/archive/v$pkgver.tar.gz")
-sha256sums=('804ed6e8579db7d170179797489ac23dfe8e1cffb430aaa3bba95a8715ae1ca5')
-
-build() {
- cd "$pkgname-$pkgver"
- export CXXFLAGS+=' -std=c++14 '
- make install
- make build
- make dist
- # Rerun this part since otherwise the linux_amd64 file ist missing from the
- # dist dir
- make dist-backend
-}
-
-check() {
- cd "$pkgname-$pkgver"
- # Force UTC timezone so that tests pass, even after a DST change
- PATH="$PATH:/build/go/bin" TZ=UTC make test lint
-}
-
-package() {
- cd "$pkgname-$pkgver"
- install -dm755 "$pkgdir/var/lib/grafana/plugins/alexanderzobnin-zabbix-app"
- cp -r dist/* "$pkgdir/var/lib/grafana/plugins/alexanderzobnin-zabbix-app"
- rm -rf "$pkgdir/var/lib/grafana/plugins/alexanderzobnin-zabbix-app/node_modules"
-}
Copied: grafana-zabbix/repos/community-any/PKGBUILD (from rev 1184958, grafana-zabbix/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-04-10 13:10:20 UTC (rev 1184959)
@@ -0,0 +1,36 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+pkgname=grafana-zabbix
+pkgver=4.2.6
+pkgrel=1
+pkgdesc="Zabbix plugin for Grafana dashboard"
+arch=('any')
+url="https://github.com/alexanderzobnin/grafana-zabbix"
+license=('APACHE')
+depends=('grafana')
+makedepends=(yarn python2 libfaketime go git nodejs-lts-fermium) # node-sass depends on node-gyp 3.8.0 which is still python2 https://github.com/sass/node-sass/issues/2877
+source=("$pkgname-$pkgver.tar.gz::https://github.com/alexanderzobnin/grafana-zabbix/archive/v$pkgver.tar.gz")
+sha256sums=('03587d586be11e9e472e1001c949971c6b42053a000c9adc4e43fefac179be54')
+
+build() {
+ cd "$pkgname-$pkgver"
+ export CXXFLAGS+=' -std=c++14 '
+ make install
+ make build
+ make dist
+ # Rerun this part since otherwise the linux_amd64 file ist missing from the
+ # dist dir
+ make dist-backend
+}
+
+check() {
+ cd "$pkgname-$pkgver"
+ # Force UTC timezone so that tests pass, even after a DST change
+ PATH="$PATH:/build/go/bin" TZ=UTC make test lint
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ install -dm755 "$pkgdir/var/lib/grafana/plugins/alexanderzobnin-zabbix-app"
+ cp -r dist/* "$pkgdir/var/lib/grafana/plugins/alexanderzobnin-zabbix-app"
+ rm -rf "$pkgdir/var/lib/grafana/plugins/alexanderzobnin-zabbix-app/node_modules"
+}
More information about the arch-commits
mailing list