[arch-commits] Commit in grafana-zabbix/repos/community-any (PKGBUILD PKGBUILD)
Florian Pritz
bluewind at gemini.archlinux.org
Mon Nov 1 10:02:45 UTC 2021
Date: Monday, November 1, 2021 @ 10:02:45
Author: bluewind
Revision: 1035167
archrelease: copy trunk to community-any
Added:
grafana-zabbix/repos/community-any/PKGBUILD
(from rev 1035166, grafana-zabbix/trunk/PKGBUILD)
Deleted:
grafana-zabbix/repos/community-any/PKGBUILD
----------+
PKGBUILD | 72 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 36 insertions(+), 36 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-01 10:02:43 UTC (rev 1035166)
+++ PKGBUILD 2021-11-01 10:02:45 UTC (rev 1035167)
@@ -1,36 +0,0 @@
-# Maintainer: Florian Pritz <bluewind at xinu.at>
-pkgname=grafana-zabbix
-pkgver=4.2.3
-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=('e004a75acbbe2f8229fc1783522b1b94253b3c74675ccd036224fa09bdfb371c')
-
-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 1035166, grafana-zabbix/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-01 10:02:45 UTC (rev 1035167)
@@ -0,0 +1,36 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+pkgname=grafana-zabbix
+pkgver=4.2.4
+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=('d2816c54d4984c3f264b88cf9fa744cb0ade203d3fcf64ef75059d3012cb6729')
+
+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