summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrim Kriegor2020-03-09 19:48:54 +0000
committerGrim Kriegor2020-03-09 19:48:54 +0000
commita2b39f82c07f170740328649a4a18b61422c874b (patch)
treeae61b8eef50e89d4f582dee62a2c5553ffff9407
parentaa6a655e07e5c84fed21ab54788e64ffad3fa776 (diff)
downloadaur-a2b39f82c07f170740328649a4a18b61422c874b.tar.gz
Set JAVA_HOME and make it depend on Java 11
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD7
2 files changed, 7 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e50cbc5442f..9421a0a20f6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,13 @@
pkgbase = kotlin-language-server-git
pkgdesc = Smart code completion, diagnostics and more for Kotlin using the Language Server Protocol
- pkgver = r576.e6f7637
+ pkgver = r844.5d2bd09
pkgrel = 1
url = https://github.com/fwcd/KotlinLanguageServer.git
arch = any
license = MIT
+ makedepends = java-environment=11
makedepends = git
- makedepends = java-environment>=8
- depends = java-runtime>=8
+ depends = java-runtime=11
provides = kotlin-language-server
conflicts = kotlin-language-server
source = kotlin-language-server::git+https://github.com/fwcd/KotlinLanguageServer.git
diff --git a/PKGBUILD b/PKGBUILD
index acc67a68568..354628ee2fe 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=kotlin-language-server-git
_pkgname=kotlin-language-server
-pkgver=r576.e6f7637
+pkgver=r844.5d2bd09
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>=8')
-makedepends=('git' 'java-environment>=8')
+depends=('java-runtime=11')
+makedepends=('java-environment=11' 'git')
source=("${_pkgname}::git+${url}")
sha256sums=('SKIP')
@@ -23,6 +23,7 @@ pkgver() {
}
build() {
+ export JAVA_HOME="/usr/lib/jvm/java-11-openjdk"
cd "${srcdir}/${_pkgname}"
./gradlew server:installDist
}