[arch-commits] Commit in grafana-zabbix/repos/community-any (PKGBUILD PKGBUILD)
Florian Pritz
bluewind at archlinux.org
Wed Dec 30 10:38:41 UTC 2020
Date: Wednesday, December 30, 2020 @ 10:38:41
Author: bluewind
Revision: 798733
archrelease: copy trunk to community-any
Added:
grafana-zabbix/repos/community-any/PKGBUILD
(from rev 798732, grafana-zabbix/trunk/PKGBUILD)
Deleted:
grafana-zabbix/repos/community-any/PKGBUILD
----------+
PKGBUILD | 64 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 32 insertions(+), 32 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-12-30 10:38:38 UTC (rev 798732)
+++ PKGBUILD 2020-12-30 10:38:41 UTC (rev 798733)
@@ -1,32 +0,0 @@
-# Maintainer: Florian Pritz <bluewind at xinu.at>
-pkgname=grafana-zabbix
-pkgver=4.0.2
-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) # 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=('96617a10f784cdb10cc02fe639bf2806f36ab3160ad4b58261f56c368a882412')
-
-build() {
- cd "$pkgname-$pkgver"
- yarn install --pure-lockfile
- yarn upgrade node-sass
- yarn build
-}
-
-check() {
- cd "$pkgname-$pkgver"
- # Force UTC timezone so that tests pass, even after a DST change
- TZ=UTC yarn test
-}
-
-package() {
- cd "$pkgname-$pkgver"
- install -dm755 "$pkgdir/var/lib/grafana/plugins/alexanderzobnin-zabbix-app"
- cp -r . "$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 798732, grafana-zabbix/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-12-30 10:38:41 UTC (rev 798733)
@@ -0,0 +1,32 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+pkgname=grafana-zabbix
+pkgver=4.1.0
+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) # 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=('6101a738c572690804d5b9371374f09ff1b9435e31db797b792e29aa84d2029c')
+
+build() {
+ cd "$pkgname-$pkgver"
+ yarn install --pure-lockfile
+ yarn upgrade node-sass
+ yarn build
+}
+
+check() {
+ cd "$pkgname-$pkgver"
+ # Force UTC timezone so that tests pass, even after a DST change
+ TZ=UTC yarn test
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ install -dm755 "$pkgdir/var/lib/grafana/plugins/alexanderzobnin-zabbix-app"
+ cp -r . "$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