PKGBUILD 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # Maintainer: Sefa Eyeoglu <contact@scrumplex.net>
  2. # Maintainer: txtsd <aur.archlinux@ihavea.quest>
  3. # Contributor: Lenny McLennington <lennymclennington@protonmail.com>
  4. # Contributor: Elijah Gregg <lovetocode999@tilde.team>
  5. # Contributor: Miko <mikoxyzzz@gmail.com>
  6. # Contributor: Cheru Berhanu <aur attt cheru doot dev>
  7. # Contributor: dada513 <dada513@protonmail.com>
  8. pkgname=prismlauncher-qt5
  9. pkgver=6.3
  10. pkgrel=1
  11. pkgdesc="Minecraft launcher with ability to manage multiple instances."
  12. arch=('i686' 'x86_64' 'aarch64')
  13. url="https://prismlauncher.org"
  14. license=('GPL3')
  15. depends=('java-runtime' 'libgl' 'qt5-base' 'qt5-svg' 'qt5-imageformats' 'zlib' 'hicolor-icon-theme' 'quazip-qt5' 'tomlplusplus')
  16. provides=('prismlauncher')
  17. conflicts=('prismlauncher')
  18. makedepends=('cmake' 'extra-cmake-modules' 'git' 'java-environment' 'scdoc' 'ghc-filesystem' 'gamemode')
  19. optdepends=('glfw: to use system GLFW libraries'
  20. 'openal: to use system OpenAL libraries'
  21. 'visualvm: Profiling support'
  22. 'xorg-xrandr: for older minecraft versions')
  23. source=("https://github.com/PrismLauncher/PrismLauncher/releases/download/${pkgver}/PrismLauncher-${pkgver}.tar.gz")
  24. sha256sums=('fc1896df6422248dbd767d4a82066fe6044ae104354ebf75fc5ae92252f2fb1a')
  25. build() {
  26. cd "PrismLauncher-${pkgver}"
  27. cmake -DCMAKE_BUILD_TYPE= \
  28. -DCMAKE_INSTALL_PREFIX="/usr" \
  29. -DLauncher_BUILD_PLATFORM="archlinux" \
  30. -DLauncher_QT_VERSION_MAJOR="5" \
  31. -Bbuild -S.
  32. cmake --build build
  33. }
  34. package() {
  35. cd "PrismLauncher-${pkgver}/build"
  36. DESTDIR="${pkgdir}" cmake --install .
  37. }