diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -2,7 +2,7 @@ pkgname=kotlin-language-server-git _pkgname=kotlin-language-server -pkgver=r1252.86fd15d +pkgver=r1337.bc53099 pkgrel=1 pkgdesc="Smart code completion, diagnostics and more for Kotlin using the Language Server Protocol" arch=(any) @@ -10,8 +10,8 @@ url="https://github.com/fwcd/KotlinLanguageServer.git" license=('MIT') conflicts=('kotlin-language-server') provides=('kotlin-language-server') -depends=('java-runtime>=11') -makedepends=('java-environment>=11' 'git') +depends=('java-runtime=11') +makedepends=('java-environment=11' 'git') source=("${_pkgname}::git+${url}") sha256sums=('SKIP') @@ -23,7 +23,7 @@ pkgver() { } build() { - jdk="$(find /usr/lib/jvm -maxdepth 1 -name "*1*jdk" | head -1)" && + jdk="$(find /usr/lib/jvm -maxdepth 1 -name "*11*jdk" | head -1)" && test -n "$jdk" && export JAVA_HOME="$jdk" cd "${srcdir}/${_pkgname}" ./gradlew server:installDist |