Date: Monday, April 10, 2023 @ 12:10:28 Author: bluewind Revision: 1444194
upgpkg: grafana-zabbix 4.3.1-1: upstream update Modified: grafana-zabbix/trunk/PKGBUILD ----------+ PKGBUILD | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2023-04-10 12:10:19 UTC (rev 1444193) +++ PKGBUILD 2023-04-10 12:10:28 UTC (rev 1444194) @@ -1,6 +1,6 @@ # Maintainer: Florian Pritz <[email protected]> pkgname=grafana-zabbix -pkgver=4.2.10 +pkgver=4.3.1 pkgrel=1 pkgdesc="Zabbix plugin for Grafana dashboard" arch=('any') @@ -7,10 +7,17 @@ url="https://github.com/alexanderzobnin/grafana-zabbix" license=('APACHE') depends=('grafana') -makedepends=(yarn libfaketime go git nodejs-lts-gallium) +makedepends=(yarn libfaketime go git nodejs-lts-gallium mage) source=("$pkgname-$pkgver-retagged-1.tar.gz::https://github.com/alexanderzobnin/grafana-zabbix/archive/v$pkgver.tar.gz") -sha256sums=('7b97156b53c4d5d5d55158a8fa57da7fc3a4105cddd55d4744c8aa6f1fd2f71c') +sha256sums=('e1871012afd502434eb716fa0c2337618f98987e4ed2893c96c283d5a7ed2ddb') +prepare() { + cd "$pkgname-$pkgver" + + # Fix tests not working without git clone + sed -i 's#jest --watch --onlyChanged#jest#' package.json +} + build() { cd "$pkgname-$pkgver" make install
