jsonnet: use system gtest.

This commit is contained in:
Leah Neukirchen 2022-01-03 16:03:13 +01:00
parent 9e5e2fe2d8
commit 01665f5fd7

View file

@ -1,8 +1,10 @@
# Template file for 'jsonnet'
pkgname=jsonnet
version=0.18.0
revision=1
revision=2
build_style=cmake
configure_args="-DUSE_SYSTEM_GTEST=ON"
makedepends="gtest-devel"
short_desc="Data templating language"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="Apache-2.0"
@ -10,6 +12,11 @@ homepage="https://github.com/google/jsonnet"
distfiles="https://github.com/google/jsonnet/archive/v${version}.tar.gz"
checksum=85c240c4740f0c788c4d49f9c9c0942f5a2d1c2ae58b2c71068107bc80a3ced4
post_install() {
# remove third-party stuff
rm -r ${DESTDIR}/usr/lib/cmake ${DESTDIR}/usr/include/c4 ${DESTDIR}/usr/lib/libc4*
}
jsonnet-devel_package() {
depends="${sourcepkg}-${version}_${revision}"
short_desc="${short_desc} - development files"
@ -17,6 +24,5 @@ jsonnet-devel_package() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove "usr/lib/pkgconfig"
}
}