diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 17 |
1 files changed, 8 insertions, 9 deletions
@@ -7,39 +7,38 @@ # Contributor: dada513 <dada513@protonmail.com> pkgname=prismlauncher -pkgver=5.0 -pkgrel=5 +pkgver=5.1 +pkgrel=1 pkgdesc="Minecraft launcher with ability to manage multiple instances." -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'aarch64') url="https://prismlauncher.org" license=('GPL3') depends=('java-runtime' 'libgl' 'qt6-base' 'qt6-5compat' 'qt6-svg' 'qt6-imageformats' 'zlib' 'hicolor-icon-theme' 'quazip-qt6') -provides=('prismlauncher') -conflicts=('polymc' 'polymc-qt5' 'prismlauncher' 'prismlauncher-qt5') makedepends=('cmake' 'extra-cmake-modules' 'git' 'java-environment' 'scdoc' 'ghc-filesystem' 'gamemode' 'tomlplusplus') optdepends=('glfw: to use system GLFW libraries' 'openal: to use system OpenAL libraries' 'visualvm: Profiling support' 'xorg-xrandr: for older minecraft versions') source=("https://github.com/PrismLauncher/PrismLauncher/releases/download/$pkgver/PrismLauncher-$pkgver.tar.gz") -sha256sums=('27c2c7e0c9aaa3450b7449683cfd2a9a941b7118ab83947de09285438e03c495') +sha256sums=('d5774911c2fde98f6b663c76084e49e8f664a0f21e13da9196072d38191a7d1e') build() { + cd "PrismLauncher-$pkgver" cmake -DCMAKE_BUILD_TYPE= \ -DCMAKE_INSTALL_PREFIX="/usr" \ -DLauncher_BUILD_PLATFORM="archlinux" \ -DLauncher_QT_VERSION_MAJOR="6" \ - -Bbuild -SPrismLauncher-$pkgver + -Bbuild -S. cmake --build build } check() { - cd "build" + cd "PrismLauncher-$pkgver/build" ctest . } package() { - cd "build" + cd "PrismLauncher-$pkgver/build" DESTDIR="$pkgdir" cmake --install . } |