diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD index 39ad5b1..990f3f3 100644 --- a/trunk/PKGBUILD +++ b/trunk/PKGBUILD @@ -7,19 +7,22 @@ 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') +makedepends=(yarn libfaketime go git nodejs-lts-gallium) +source=("$pkgname-$pkgver.tar.gz::https://github.com/alexanderzobnin/grafana-zabbix/archive/v$pkgver.tar.gz" + grafana-zabbix-sass-update-for-node-16.patch::https://github.com/alexanderzobnin/grafana-zabbix/commit/a09d8a983e051cbe4a959c40224426edc3468d10.patch) +sha256sums=('913efd1d6bfb903eb7e40d79d58fc1d9cf5041d4764bc1f34f1c5997439de1ab' + 'ec1c6863ba97db0da505569b0992bc6a3158d54621db20235635e4fbd36eb15c') + +prepare() { + cd "$pkgname-$pkgver" + patch -Np1 -i ../grafana-zabbix-sass-update-for-node-16.patch +} 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() {