# Template file for 'jet' pkgname=jet version=0.5.25 revision=1 hostmakedepends="mandrel leiningen" makedepends="zlib-devel" short_desc="CLI to transform between JSON, EDN and Transit" maintainer="Leah Neukirchen " license="EPL-1.0" homepage="https://github.com/borkdude/jet" changelog="https://raw.githubusercontent.com/borkdude/jet/master/CHANGELOG.md" distfiles="https://github.com/borkdude/jet/archive/refs/tags/v${version}.tar.gz" checksum=9054dfd4406c4fb034c68eddda0996ca238345bd97695e579a7c0fdeeb639ab0 nocross="mandrel" do_build() { export GRAALVM_HOME=/usr/lib/jvm/mandrel17 if [ "$XBPS_TARGET_LIBC" = musl ]; then export BABASHKA_MUSL=true export BABASHKA_STATIC=true fi vsed -e "s/+native-image/+uberjar/" -i script/compile script/compile } do_check() { export JET_TEST_ENV=native script/test } do_install() { vbin jet vlicense LICENSE }