summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorraember2021-11-03 13:41:00 +0100
committerraember2021-11-03 13:41:36 +0100
commit46e538fc34f85625fab2869321064f0962f4ea6f (patch)
tree46b9bd159a0510a66c14e3a9375a50a4584cf8a5
parent19ff518ca78da53d15c06c786637195cf274ad07 (diff)
downloadaur-46e538fc34f85625fab2869321064f0962f4ea6f.tar.gz
Made installation use Java 11
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD2
2 files changed, 3 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6877fa37a597..2cd677f05cb7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -8,6 +8,7 @@ pkgbase = audiveris-git
makedepends = java-environment=11
makedepends = gradle
depends = java-runtime=11
+ depends = archlinux-java-run>=7
depends = tesseract-data-eng
depends = freetype2
optdepends = tesseract-data: For languages other than english
diff --git a/PKGBUILD b/PKGBUILD
index 8a2ab629ce2e..63d481b323f5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,6 +10,7 @@ url="https://github.com/Audiveris/audiveris"
license=('AGPL3')
depends=(
'java-runtime=11'
+ 'archlinux-java-run>=7'
'tesseract-data-eng'
'freetype2'
)
@@ -44,6 +45,7 @@ prepare() {
build() {
cd "$srcdir/$pkgname"
+ export JAVA_HOME=$(archlinux-java-run -a 11 -b 11 -f jdk -j)
gradle build javadoc
}