void-packages/srcpkgs/jsonnet/template

21 lines
547 B
Bash

# Template file for 'jsonnet'
pkgname=jsonnet
version=0.13.0
revision=1
build_style=gnu-makefile
short_desc="Data templating language"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="Apache-2.0"
homepage="https://github.com/google/jsonnet"
distfiles="https://github.com/google/jsonnet/archive/v${version}.tar.gz"
checksum=f6f0c4ea333f3423f1a7237a8a107c589354c38be8a2a438198f9f7c69b77596
CXXFLAGS="-Iinclude -Ithird_party/md5 -Ithird_party/json"
CFLAGS="-Iinclude"
do_install() {
vbin jsonnet
vbin jsonnetfmt
vsconf stdlib/std.jsonnet
}