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: af7498d532add40cf8d8b260ee1be2ab97354fb7

Message: 1.0.6-2

Diff


diff --git a/PKGBUILD b/PKGBUILD
index 6d24f1b..4ae1e5e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
 
 pkgname=polymc
 pkgver=1.0.6
-pkgrel=1
+pkgrel=2
 pkgdesc="Minecraft launcher with ability to manage multiple instances."
 arch=('i686' 'x86_64')
 url="https://github.com/PolyMC/PolyMC"
@@ -12,7 +12,7 @@ conflicts=('multimc' 'polymc')
 makedepends=('cmake' 'git' 'openjdk-17-jdk' 'zlib1g-dev' 'libgl1-mesa-dev')
 optdepends=('java-runtime=8: support for Minecraft versions < 1.17'
             'java-runtime=17: support for Minecraft versions >= 1.17')
-source=("git+https://github.com/PolyMC/PolyMC"
+source=("git+https://github.com/PolyMC/PolyMC#tag=${pkgver}"
         "git+https://github.com/MultiMC/libnbtplusplus"
         "git+https://github.com/PolyMC/quazip")
 
@@ -22,7 +22,6 @@ sha256sums=('SKIP'
 
 prepare() {
   cd "${srcdir}/PolyMC"
-  git checkout ${pkgver}
   git submodule init
   git config submodule.libnbtplusplus.url "${srcdir}/libnbtplusplus"
   git config submodule.quazip.url "${srcdir}/quazip"