template 1.3 KB

12345678910111213141516171819202122232425262728293031323334
  1. # Template file for 'PrismLauncher-Cracked'
  2. pkgname=PrismLauncher-Cracked
  3. version=9.4
  4. revision=1
  5. build_style=cmake
  6. configure_args="-DLauncher_BUILD_PLATFORM=Void"
  7. hostmakedepends="extra-cmake-modules openjdk17 pkg-config qt6-tools qt6-base scdoc"
  8. makedepends="qt6-base-devel qt6-qt5compat-devel zlib-devel quazip-qt6-devel qt6-networkauth-devel"
  9. depends="virtual?java-runtime qt6-svg qt6-imageformats qt6-plugin-tls-openssl"
  10. short_desc="Custom launcher for Minecraft"
  11. maintainer="Naz <[email protected]>"
  12. license="GPL-3.0-or-later"
  13. homepage="https://github.com/Diegiwg/PrismLauncher-Cracked"
  14. distfiles="https://github.com/Diegiwg/PrismLauncher-Cracked/releases/download/${version}/PrismLauncher-${version}.tar.gz"
  15. checksum=c49d5787882116f1f4a86eb55da888bd84d96efbd0647413064aba3cee9b9515
  16. if [ -z "$XBPS_CHECK_PKGS" ]; then
  17. configure_args+=" -DBUILD_TESTING=0"
  18. fi
  19. case "$XBPS_TARGET_MACHINE" in
  20. # XXX: this could be fixed by switching to clang, but it seems to produce
  21. # non-PIE executables despite -fPIE being in the C(XX)FLAGS
  22. # There's also some effort needed to get it working on cross
  23. armv*) broken="https://github.com/PrismLauncher/PrismLauncher/issues/128" ;;
  24. esac
  25. pre_configure() {
  26. . /etc/profile.d/jdk.sh
  27. }
  28. post_install() {
  29. vdoc ${FILESDIR}/README.voidlinux
  30. }