mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-22 17:17:03 +02:00
26 lines
807 B
Bash
26 lines
807 B
Bash
# Template file for 'juliaup'
|
|
pkgname=juliaup
|
|
version=1.17.11
|
|
revision=1
|
|
archs="x86_64* i686 aarch64"
|
|
build_style=cargo
|
|
build_helper="qemu"
|
|
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=2b3b88695b3cce2b79e70cabf2291f70306729baee6a939eb160b60449030e67
|
|
|
|
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() {
|
|
for sh in bash fish zsh; do
|
|
vtargetrun ${DESTDIR}/usr/bin/${pkgname} completions $sh > completions.$sh
|
|
vcompletion completions.$sh $sh
|
|
done
|
|
vlicense LICENSE
|
|
}
|