diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -9,7 +9,7 @@ _pkgname=prismlauncher pkgname=${_pkgname}-git pkgver=6.0.r238.gdeed4957 -pkgrel=3 +pkgrel=4 pkgdesc="Minecraft launcher with ability to manage multiple instances." arch=('i686' 'x86_64' 'aarch64') url="https://prismlauncher.org" @@ -17,7 +17,7 @@ license=('GPL3') depends=('java-runtime=17' 'libgl' 'qt6-base' 'qt6-5compat' 'qt6-svg' 'qt6-imageformats' 'zlib' 'hicolor-icon-theme' 'quazip-qt6' 'cmark' 'tomlplusplus') provides=('prismlauncher') conflicts=('prismlauncher') -makedepends=('cmake' 'extra-cmake-modules' 'git' 'java-environment=17' 'scdoc' 'ghc-filesystem' 'gamemode') +makedepends=('cmake' 'extra-cmake-modules' 'git' 'jdk17-openjdk' 'scdoc' 'ghc-filesystem' 'gamemode') optdepends=('glfw: to use system GLFW libraries' 'openal: to use system OpenAL libraries' 'visualvm: Profiling support' @@ -50,6 +50,8 @@ prepare() { } build() { + export PATH="/usr/lib/jvm/java-17-openjdk/bin:$PATH" + cmake -DCMAKE_BUILD_TYPE= \ -DCMAKE_INSTALL_PREFIX="/usr" \ -DLauncher_APP_BINARY_NAME="${_pkgname}" \ |