# Template file for 'juliaup'
pkgname=juliaup
version=1.8.16
revision=1
archs="x86_64* i686 aarch64"
build_style=cargo
short_desc="Julia installer and version multiplexer"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/JuliaLang/juliaup"
distfiles="https://github.com/JuliaLang/juliaup/archive/refs/tags/v${version}.tar.gz"
checksum=99b0d62b589c8a330fffaa2252b8e4251124bfd59077f0789a6a456d3b1ae81a

if [ "$XBPS_TARGET_MACHINE" = x86_64-musl ]; then
	# command_add test fails, doesn't seem to be able to launch the downloaded julia in the test
	make_check=no
fi

post_install() {
	vlicense LICENSE
}
