void-packages/srcpkgs/jsonnet/template

22 lines
570 B
Bash

# Template file for 'jsonnet'
pkgname=jsonnet
version=0.14.0
revision=1
build_style=gnu-makefile
make_build_args="bins"
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=7f41cdc4cb366cfc1de3aada926a2f7e640ef025887eb05cdaf8342d6e4e088b
CXXFLAGS="-Iinclude -Ithird_party/md5 -Ithird_party/json"
CFLAGS="-Iinclude"
do_install() {
vbin jsonnet
vbin jsonnetfmt
vsconf stdlib/std.jsonnet
}