clojure-lsp: set graal as java distribution

This commit is contained in:
icp 2024-07-23 20:37:35 +05:30 committed by classabbyamp
parent 1dd3a186ff
commit ef78d06def
1 changed files with 3 additions and 4 deletions

View File

@ -1,9 +1,9 @@
# Template file for 'clojure-lsp'
pkgname=clojure-lsp
version=2024.04.22
revision=1
revision=2
_ver_hms="11.50.26"
hostmakedepends="mandrel leiningen babashka clojure openjdk21"
hostmakedepends="mandrel leiningen babashka clojure"
makedepends="zlib-devel"
short_desc="Clojure & ClojureScript language server implementation"
maintainer="icp <pangolin@vivaldi.net>"
@ -15,11 +15,10 @@ checksum=0fe5dd9b27cfe7583f1cb3ae5520a5e85d710af5d281785ecd0618eb222095fd
nocross="mandrel"
do_build() {
export JAVA_HOME=/usr/lib/jvm/mandrel21
export GRAALVM_HOME=/usr/lib/jvm/mandrel21
export PATH="/usr/libexec/chroot-git:${PATH}"
. /etc/profile.d/jdk.sh
if [ "$XBPS_TARGET_LIBC" = musl ]; then
export CLOJURE_LSP_STATIC=true
export CLOJURE_LSP_MUSL=true