jet: update to 0.4.23.

This commit is contained in:
icp 2022-12-21 16:18:03 +05:30 committed by Leah Neukirchen
parent 592ca75e33
commit b4e82dd6c7

View File

@ -1,6 +1,6 @@
# Template file for 'jet'
pkgname=jet
version=0.1.1
version=0.4.23
revision=1
hostmakedepends="mandrel leiningen"
makedepends="zlib-devel"
@ -8,15 +8,27 @@ 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"
changelog="https://raw.githubusercontent.com/borkdude/jet/master/CHANGELOG.md"
distfiles="https://github.com/borkdude/jet/archive/refs/tags/v${version}.tar.gz"
checksum=2085cd757607eebfdcc6107f507e362b88952f5cd7139127ba9c47708bbd91c4
checksum=dae9367813eb28eed9807016947f286fe0825fddd3c596d9712d0c2a6c7596cf
nocross="mandrel"
do_build() {
export GRAALVM_HOME=/usr/lib/jvm/mandrel11
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