Commit 2c2ea8e3 authored by Nigel Kukard's avatar Nigel Kukard
Browse files

Merge branch 'nkupdates' into 'master'

Fix CXX flags

See merge request !1
parents 571090f1 ea3a081c
Pipeline #2089 passed with stages
in 4 minutes and 41 seconds
......@@ -8,13 +8,14 @@ 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
makedepends=(nodejs-lts-fermium 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=('7cc869c3cdab1cd577205e7b3b5c64fba0a9181241e5f11305091db59e695779')
build() {
cd "$pkgname-$pkgver"
# export CXXFLAGS+=' -std=c++14 '
export GOPATH="$srcdir"/go
export CXXFLAGS+=' -std=c++14 '
make install
make build
make dist
......@@ -25,8 +26,9 @@ build() {
check() {
cd "$pkgname-$pkgver"
export GOPATH="$srcdir"/go
# Force UTC timezone so that tests pass, even after a DST change
PATH="$PATH:/build/go/bin" TZ=UTC make test lint
PATH="$PATH:/build/go/bin" TZ=UTC make test
}
package() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment