diff --git a/srcpkgs/jsonnet/template b/srcpkgs/jsonnet/template new file mode 100644 index 00000000000..b4e76ee15a7 --- /dev/null +++ b/srcpkgs/jsonnet/template @@ -0,0 +1,19 @@ +# Template file for 'jsonnet' +pkgname=jsonnet +version=0.12.1 +revision=1 +build_style=gnu-makefile +short_desc="Data templating language" +maintainer="Leah Neukirchen " +license="Apache-2.0" +homepage="https://github.com/google/jsonnet" +distfiles="https://github.com/google/jsonnet/archive/v${version}.tar.gz" +checksum=257c6de988f746cc90486d9d0fbd49826832b7a2f0dbdb60a515cc8a2596c950 + +CXXFLAGS="-Iinclude -Ithird_party/md5 -Ithird_party/json" +CFLAGS="-Iinclude" + +do_install() { + vbin jsonnet + vsconf stdlib/std.jsonnet +}