aboutsummaryrefslogtreecommitdiffstats
path: root/community/jsonnet/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/jsonnet/APKBUILD')
-rw-r--r--community/jsonnet/APKBUILD15
1 files changed, 8 insertions, 7 deletions
diff --git a/community/jsonnet/APKBUILD b/community/jsonnet/APKBUILD
index aaf220ac9c..36e1acba6d 100644
--- a/community/jsonnet/APKBUILD
+++ b/community/jsonnet/APKBUILD
@@ -1,13 +1,13 @@
# Contributor: TBK <alpine@jjtc.eu>
# Maintainer: TBK <alpine@jjtc.eu>
pkgname=jsonnet
-pkgver=0.16.0
+pkgver=0.17.0
pkgrel=0
pkgdesc="The data templating language"
url="https://jsonnet.org/"
arch="all"
license="Apache-2.0"
-makedepends="cmake"
+makedepends="cmake gtest-dev"
checkdepends="bash gtest-dev"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/google/jsonnet/archive/v$pkgver.tar.gz"
@@ -25,16 +25,17 @@ build() {
-DUSE_SYSTEM_GTEST=ON \
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_C_FLAGS="$CFLAGS" \
- $CMAKE_CROSSOPTS .
- make -C build
+ $CMAKE_CROSSOPTS
+ cmake --build build
}
check() {
- make -C build test
+ cd build
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
- make -C build DESTDIR="$pkgdir" install
+ DESTDIR="$pkgdir" cmake --install build
}
-sha512sums="80e0403ec8008cbacff8d9e8fe0e2b5d3bfa306d92c2c11d472e5721015ce4c11be745df10d25715f22f8d8594df69fabf2fe617bdded462ffc5b21f8923606f jsonnet-0.16.0.tar.gz"
+sha512sums="d3ee6947163d8abced504ff37ecf365c0311164cbf243d4c635d34944f0831ca9fce2470acf00eb9a218f82a2e553b3f885db9bd21bb9dcefbd707fa0202925d jsonnet-0.17.0.tar.gz"