34 lines
951 B
Bash
34 lines
951 B
Bash
# Template file for 'clojure-lsp'
|
|
pkgname=clojure-lsp
|
|
version=2024.11.08
|
|
revision=1
|
|
_ver_hms="17.49.29"
|
|
hostmakedepends="mandrel leiningen babashka clojure"
|
|
makedepends="zlib-devel"
|
|
short_desc="Clojure & ClojureScript language server implementation"
|
|
maintainer="icp <pangolin@vivaldi.net>"
|
|
license="MIT"
|
|
homepage="https://clojure-lsp.io"
|
|
changelog="https://raw.githubusercontent.com/clojure-lsp/clojure-lsp/master/CHANGELOG.md"
|
|
distfiles="https://github.com/clojure-lsp/clojure-lsp/archive/refs/tags/${version}-${_ver_hms}.tar.gz"
|
|
checksum=1266a874dfd9433aae36cececbea0d590a68bf5ea45ee963c657d1d398d02556
|
|
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}"
|
|
|
|
if [ "$XBPS_TARGET_LIBC" = musl ]; then
|
|
export CLOJURE_LSP_STATIC=true
|
|
export CLOJURE_LSP_MUSL=true
|
|
fi
|
|
|
|
bb native-cli
|
|
}
|
|
|
|
do_install() {
|
|
vbin clojure-lsp
|
|
vlicense LICENSE
|
|
}
|