123456789101112131415161718192021222324252627282930313233343536373839404142 |
- # Maintainer: Sefa Eyeoglu <contact@scrumplex.net>
- # Maintainer: txtsd <aur.archlinux@ihavea.quest>
- # Contributor: Lenny McLennington <lennymclennington@protonmail.com>
- # Contributor: Elijah Gregg <lovetocode999@tilde.team>
- # Contributor: Miko <mikoxyzzz@gmail.com>
- # Contributor: Cheru Berhanu <aur attt cheru doot dev>
- # Contributor: dada513 <dada513@protonmail.com>
- pkgname=prismlauncher-qt5
- pkgver=6.3
- pkgrel=1
- pkgdesc="Minecraft launcher with ability to manage multiple instances."
- arch=('i686' 'x86_64' 'aarch64')
- url="https://prismlauncher.org"
- license=('GPL3')
- depends=('java-runtime' 'libgl' 'qt5-base' 'qt5-svg' 'qt5-imageformats' 'zlib' 'hicolor-icon-theme' 'quazip-qt5' 'tomlplusplus')
- provides=('prismlauncher')
- conflicts=('prismlauncher')
- makedepends=('cmake' 'extra-cmake-modules' 'git' 'java-environment' 'scdoc' 'ghc-filesystem' 'gamemode')
- 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=('fc1896df6422248dbd767d4a82066fe6044ae104354ebf75fc5ae92252f2fb1a')
- build() {
- cd "PrismLauncher-${pkgver}"
- cmake -DCMAKE_BUILD_TYPE= \
- -DCMAKE_INSTALL_PREFIX="/usr" \
- -DLauncher_BUILD_PLATFORM="archlinux" \
- -DLauncher_QT_VERSION_MAJOR="5" \
- -Bbuild -S.
- cmake --build build
- }
- package() {
- cd "PrismLauncher-${pkgver}/build"
- DESTDIR="${pkgdir}" cmake --install .
- }
|