diff options
author | Abdulkadir Furkan Şanlı | 2022-10-28 20:18:49 +0200 |
---|---|---|
committer | Abdulkadir Furkan Şanlı | 2022-10-28 20:18:49 +0200 |
commit | be1962c41659eeb6e1af1953f4039233dff23f31 (patch) | |
tree | 872f322ac665f6c7da9408b012f87a1b27c4e43c | |
parent | da9ed66f1350ab2c71e1cfb3a2f114bc61b75f4b (diff) | |
download | aur-be1962c41659eeb6e1af1953f4039233dff23f31.tar.gz |
Update hmcl-dev to 3.5.3.222, use Java 17 LTS.
Signed-off-by: Abdulkadir Furkan Şanlı <me@abdulocra.cy>
-rw-r--r-- | PKGBUILD | 13 | ||||
-rwxr-xr-x | hmcl-launch-script | 2 |
2 files changed, 7 insertions, 8 deletions
@@ -5,28 +5,27 @@ pkgname=hmcl-dev _pkgname=hmcl -pkgver=3.5.3.221 -_commit=edd89fb040e658a53b931f40abecc81d9ac59de3 -pkgrel=2 +pkgver=3.5.3.222 +_commit=19b6633f4a01f2a94a240a5563cd9bf72418f6b3 +pkgrel=1 pkgdesc="A Minecraft Launcher which is multi-functional, cross-platform and popular (development version)" arch=('any') url="https://github.com/huanghongxun/HMCL" license=('GPL3') provides=('hmcl') conflicts=('hmcl') -depends=('java-openjfx' - 'jdk-openjdk') +depends=('java17-openjfx') makedepends=(git) source=("hmcl-launch-script" "${_pkgname}.desktop" "git+https://github.com/huanghongxun/HMCL.git#commit=${_commit}") -sha256sums=('7c67cac5c940d26e6657118dcea832a435a675df03cb73ef7c735b42dbcd8923' +sha256sums=('b55d4a3bfa0136eee0c63c4c796a7a7ffb95a0a82442ceab3c0e97fb141c3b2b' '5780cf70f1afec0eb3cd8fc43297d361903c7204e274a28c5edf9b8ac3eea83e' 'SKIP') build() { cd HMCL - _java=$(ls /usr/lib/jvm | grep 18-openjdk) + _java=$(ls /usr/lib/jvm | grep 17-openjdk) export JAVA_HOME=/usr/lib/jvm/$_java sh gradlew --no-daemon build } diff --git a/hmcl-launch-script b/hmcl-launch-script index 47c60c865adb..77a81cc640fa 100755 --- a/hmcl-launch-script +++ b/hmcl-launch-script @@ -7,4 +7,4 @@ if [[ "$1" != "-p" ]]; then ls hmcl.json > /dev/null 2>&1 || touch hmcl.json fi -exec /usr/lib/jvm/java-18-openjdk/bin/java -jar "/usr/share/java/hmcl/hmcl.jar" "$@" +exec /usr/lib/jvm/java-17-openjdk/bin/java -jar "/usr/share/java/hmcl/hmcl.jar" "$@" |