From 2c0ed4f9ffc9d915394729bb32b9c79a92e04bf3 Mon Sep 17 00:00:00 2001 From: Philipp David Date: Mon, 10 Jan 2022 11:32:22 +0100 Subject: [PATCH] New package: PolyMC-1.1.0 --- srcpkgs/PolyMC/template | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 srcpkgs/PolyMC/template diff --git a/srcpkgs/PolyMC/template b/srcpkgs/PolyMC/template new file mode 100644 index 000000000000..f1ddeabffa53 --- /dev/null +++ b/srcpkgs/PolyMC/template @@ -0,0 +1,33 @@ +# Template file for 'PolyMC' +pkgname=PolyMC +version=1.1.0 +revision=1 +_nbtversion="dc72a20b7efd304d12af2025223fad07b4b78464" +_quazipversion="09ec1d10c6d627f895109b21728dda000cbfa7d1" +build_style=cmake +configure_args="-DLauncher_BUILD_PLATFORM=Void -DLauncher_PORTABLE=0 + -DLauncher_VERSION_BUILD=${revision}" +hostmakedepends="openjdk11 qt5-host-tools qt5-qmake" +makedepends="qt5-devel" +depends="virtual?java-runtime" +short_desc="Custom launcher for Minecraft" +maintainer="Philipp David " +license="GPL-3.0-or-later" +homepage="https://polymc.org/" +distfiles="https://github.com/PolyMC/PolyMC/archive/${version}.tar.gz + https://github.com/MultiMC/libnbtplusplus/archive/${_nbtversion}.tar.gz + https://github.com/stachenov/quazip/archive/${_quazipversion}.tar.gz" +checksum="4114b11a47a5380c811df890310578ddb3457f0a96caf019f388e1f551d58e99 + 2ed9dc824007b4f7b12f807f56c98e1248b8a7aba7eca4838085092958dc1595 + 618700e4e5f1f884e22bc8ed2c2c102305711ebf5a39296bf4c6017a4e6d4e35" + +case "$XBPS_TARGET_MACHINE" in + armv*) broken="https://github.com/MultiMC/MultiMC5/issues/2895";; +esac + +post_extract() { + rmdir libraries/libnbtplusplus + rmdir libraries/quazip + mv ../libnbtplusplus-${_nbtversion} libraries/libnbtplusplus + mv ../quazip-${_quazipversion} libraries/quazip +}