# Template file for 'jet'
pkgname=jet
version=0.1.1
revision=1
hostmakedepends="mandrel leiningen"
makedepends="zlib-devel"
short_desc="CLI to transform between JSON, EDN and Transit"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="EPL-1.0"
homepage="https://github.com/borkdude/jet"
distfiles="https://github.com/borkdude/jet/archive/refs/tags/v${version}.tar.gz"
checksum=2085cd757607eebfdcc6107f507e362b88952f5cd7139127ba9c47708bbd91c4
nocross="mandrel"

do_build() {
	export GRAALVM_HOME=/usr/lib/jvm/mandrel11
	script/compile
}

do_install() {
	vbin jet
	vlicense LICENSE
}
