[arch-commits] Commit in grafana-zabbix/repos/community-any (PKGBUILD PKGBUILD)
Florian Pritz
bluewind at archlinux.org
Sun Mar 14 12:35:17 UTC 2021
Date: Sunday, March 14, 2021 @ 12:35:17
Author: bluewind
Revision: 891068
archrelease: copy trunk to community-any
Added:
grafana-zabbix/repos/community-any/PKGBUILD
(from rev 891067, grafana-zabbix/trunk/PKGBUILD)
Deleted:
grafana-zabbix/repos/community-any/PKGBUILD
----------+
PKGBUILD | 67 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 35 insertions(+), 32 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-03-14 12:35:13 UTC (rev 891067)
+++ PKGBUILD 2021-03-14 12:35:17 UTC (rev 891068)
@@ -1,32 +0,0 @@
-# Maintainer: Florian Pritz <bluewind at xinu.at>
-pkgname=grafana-zabbix
-pkgver=4.1.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) # 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=('79f464ca181004b44be4a6bdc6a48efa20556406634c8c131acc3abdcb88a306')
-
-build() {
- cd "$pkgname-$pkgver"
- make install
- make build
- make dist
-}
-
-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 891067, grafana-zabbix/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-03-14 12:35:17 UTC (rev 891068)
@@ -0,0 +1,35 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+pkgname=grafana-zabbix
+pkgver=4.1.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) # 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=('7a2d65d6814ad98a28f8cebb3f85b68044059dc6527a72f77e02cf52d9c6867f')
+
+build() {
+ cd "$pkgname-$pkgver"
+ 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