makedeb


polymc 6.1-0.1


Minecraft launcher with ability to manage multiple instances.

Click here to go back to the commit logs for polymc.

Commit:


Hash: e2c80d796603746ddef2d851dd9e0e8b63406423

Message: A long-overdue update to package version.

Diff


diff --git a/.SRCINFO b/.SRCINFO
index db1e5c1..47a5b1d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,9 +3,8 @@ pkgname = polymc
 pkgbase = polymc
 pkgdesc = Minecraft launcher with ability to manage multiple instances.
 pkgrel = 1
-pkgver = 1.4.2
+pkgver = 5.1
 url = https://github.com/PolyMC/PolyMC
-arch = i686
 arch = amd64
 conflicts = polymc
 depends = libqt5svg5
@@ -14,6 +13,7 @@ depends = libqt5xml5
 depends = libqt5core5a
 depends = libqt5network5
 depends = libqt5gui5
+depends = libqt5charts5-dev
 license = GPL3
 makedepends = scdoc
 makedepends = extra-cmake-modules
@@ -30,8 +30,9 @@ makedepends = gcc
 makedepends = g++
 optdepends = java-runtime=8: support for Minecraft versions < 1.17
 optdepends = java-runtime=17: support for Minecraft versions >= 1.17
-source = https://github.com/PolyMC/PolyMC/releases/download/1.4.2/PolyMC-1.4.2.tar.gz
-sha256sums = a66f25e0389815d2419a5b3aa1b85a390f14bbf3997c55c7da1ce4507b5aa511
+provides = polymc
+source = https://github.com/PolyMC/PolyMC/releases/download/5.1/PolyMC-5.1.tar.gz
+sha256sums = ed8a43555c9fcfa783193a0377c6353bb5c9360a0e5742bbb6be4f7c6e7b2704
 makedepends = scdoc
 makedepends = extra-cmake-modules
 makedepends = cmake
diff --git a/PKGBUILD b/PKGBUILD
index 05bb02e..ce1d0d1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,32 +1,36 @@
-# Maintainer: dada513 <dada513@protonmail.com>
+# Maintainer: Sony Stinks <sonystinks@protonmail.com>
+# Contributor: dada513 <dada513@protonmail.com>
+# Contributor: Sefa Eyeoglu <contact@scrumplex.net>
+# Contributor: Lenny McLennington <lennymclennington@protonmail.com>
+# Contributor: Yellow <yellow@example.com>
+# Contributor: Elijah Gregg <lovetocode999@tilde.team>
+# Contributor: Miko <mikoxyzzz@gmail.com>
+# Contributor: Cheru Berhanu <aur attt cheru doot dev>
 
 pkgname=polymc
-pkgver=1.4.2
+pkgver=5.1
 pkgrel=1
 pkgdesc="Minecraft launcher with ability to manage multiple instances."
-arch=('i686' 'amd64')
+arch=('amd64')
 url="https://github.com/PolyMC/PolyMC"
 license=('GPL3')
-depends=('libqt5svg5' 'qt5-image-formats-plugins' 'libqt5xml5' 'libqt5core5a' 'libqt5network5' 'libqt5gui5')
+depends=('libqt5svg5' 'qt5-image-formats-plugins' 'libqt5xml5' 'libqt5core5a' 'libqt5network5' 'libqt5gui5' 'libqt5charts5-dev')
+provides=('polymc')
 conflicts=('polymc')
 makedepends=('scdoc' 'extra-cmake-modules' 'cmake' 'git' 'openjdk-17-jdk' 'zlib1g-dev' 'libgl1-mesa-dev' 'qtbase5-dev' 'qtchooser' 'qt5-qmake' 'qtbase5-dev-tools' 'gcc' 'g++')
 optdepends=('java-runtime=8: support for Minecraft versions < 1.17'
             'java-runtime=17: support for Minecraft versions >= 1.17')	    
 source=("https://github.com/PolyMC/PolyMC/releases/download/$pkgver/PolyMC-$pkgver.tar.gz")
 
-sha256sums=("a66f25e0389815d2419a5b3aa1b85a390f14bbf3997c55c7da1ce4507b5aa511")
+sha256sums=("ed8a43555c9fcfa783193a0377c6353bb5c9360a0e5742bbb6be4f7c6e7b2704")
 
 build() {
-  cd "${srcdir}/PolyMC-$pkgver"
-  mkdir -p build
-  cd build
-  cmake -DCMAKE_BUILD_TYPE=None \
+
+  cmake -DCMAKE_BUILD_TYPE= \
     -DCMAKE_INSTALL_PREFIX="/usr" \
-    -DLauncher_BUILD_PLATFORM="debian" \
-    -DLauncher_APP_BINARY_NAME="${pkgname}" \
-    -DENABLE_LTO=ON \
-    ..
-  cmake --build .
+    -DLauncher_QT_VERSION_MAJOR=5 \
+    -Bbuild -SPolyMC-$pkgver
+  cmake --build build
 }
 
 check() {
@@ -35,7 +39,6 @@ check() {
 }
 
 package() {
-  cd "${srcdir}/PolyMC-$pkgver/build"
+  cd "build"
   DESTDIR="$pkgdir" cmake --install .
 }
-