makedeb


prismlauncher-git 9.0.r1.403c4ba-1


Minecraft launcher with ability to manage multiple instances.

Click here to go back to the commit logs for prismlauncher-git.

Commit:


Hash: adf1a81bfd1f7e98f8e06f4e970285c1dbbafc72

Message: first release

Diff


diff --git a/.SRCINFO b/.SRCINFO
index cae6e81..aedf7cf 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,11 +2,11 @@ generated-by = makedeb-makepkg
 
 pkgbase = prismlauncher-git
 	pkgdesc = Minecraft launcher with ability to manage multiple instances.
-	pkgver = 1.3.2.r1.g5608531
+	pkgver = 5.0.r0.g41032aa
 	pkgrel = 1
 	url = https://github.com/PrismLauncher/PrismLauncher
 	arch = i686
-	arch = x86_64
+	arch = amd64
 	license = GPL3
 	makedepends = extra-cmake-modules
 	makedepends = g++
@@ -29,14 +29,6 @@ pkgbase = prismlauncher-git
 	provides = prismlauncher
 	conflicts = prismlauncher
 	source = git+https://github.com/PrismLauncher/PrismLauncher.git
-	source = git+https://github.com/PrismLauncher/libnbtplusplus.git
-	source = git+https://github.com/stachenov/quazip.git
-	source = git+https://github.com/marzer/tomlplusplus.git
-	source = git+https://github.com/gulrak/filesystem.git
-	sha256sums = SKIP
-	sha256sums = SKIP
-	sha256sums = SKIP
-	sha256sums = SKIP
 	sha256sums = SKIP
 
 pkgname = prismlauncher-git
diff --git a/PKGBUILD b/PKGBUILD
index 387c13e..5661247 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,12 +1,12 @@
 # Maintainer: dada513 <dada513@protonmail.com>
-# Maintainer: Sefa Eyeoglu <conctact@scrumplex.net>
+# Contributor: Sefa Eyeoglu <conctact@scrumplex.net>
 
 _pkgname=prismlauncher
 pkgname=${_pkgname}-git
-pkgver=1.3.2.r1.g5608531
+pkgver=5.0.r0.g41032aa
 pkgrel=1
 pkgdesc="Minecraft launcher with ability to manage multiple instances."
-arch=('i686' 'x86_64')
+arch=('i686' 'amd64')
 url="https://github.com/PrismLauncher/PrismLauncher"
 license=('GPL3')
 depends=('libqt5xml5' 'libqt5core5a' 'libqt5network5' 'libqt5gui5')
@@ -15,17 +15,17 @@ conflicts=('prismlauncher')
 makedepends=('extra-cmake-modules' 'g++' 'gcc' 'cmake' 'git' 'openjdk-17-jdk' 'zlib1g-dev' 'libgl1-mesa-dev' 'qtbase5-dev' 'qtchooser' 'qt5-qmake' 'qtbase5-dev-tools')
 optdepends=('java-runtime=8: support for Minecraft versions < 1.17'
             'java-runtime=17: support for Minecraft versions >= 1.17')
-source=("git+https://github.com/PrismLauncher/PrismLauncher.git"
-        "git+https://github.com/PrismLauncher/libnbtplusplus.git"
-        "git+https://github.com/stachenov/quazip.git"
-        "git+https://github.com/marzer/tomlplusplus.git"
-        "git+https://github.com/gulrak/filesystem.git")
+source=("git+https://github.com/PrismLauncher/PrismLauncher.git")
+        #"git+https://github.com/PrismLauncher/libnbtplusplus.git"
+        #"git+https://github.com/stachenov/quazip.git"
+        #"git+https://github.com/marzer/tomlplusplus.git"
+        #"git+https://github.com/gulrak/filesystem.git")
 
-sha256sums=('SKIP'
-            'SKIP'
-            'SKIP'
-            'SKIP'
-            'SKIP')
+sha256sums=('SKIP')
+            #'SKIP'
+            #'SKIP'
+            #'SKIP'
+            #'SKIP')
 
 pkgver() {
   cd "PrismLauncher"
@@ -35,15 +35,16 @@ pkgver() {
 prepare() {
   cd "PrismLauncher"
   git submodule init
-  git config submodule.libraries/libnbtplusplus.url "${srcdir}/libnbtplusplus"
-  git config submodule.libraries/quazip.url "${srcdir}/quazip"
-  git config submodule.libraries/tomlplusplus.url "${srcdir}/tomlplusplus"
-  git config submodule.libraries/filesystem.url "${srcdir}/filesystem"
+  # This trick is broken with recent Git version because of a CVE
+  #git config submodule.libraries/libnbtplusplus.url "${srcdir}/libnbtplusplus"
+  #git config submodule.libraries/quazip.url "${srcdir}/quazip"
+  #git config submodule.libraries/tomlplusplus.url "${srcdir}/tomlplusplus"
+  #git config submodule.libraries/filesystem.url "${srcdir}/filesystem"
   git submodule update
 }
 
 build() {
-  cd "${srcdir}/PrismLauncher-$pkgver"
+  cd "PrismLauncher"
   mkdir -p build
   cd build
 
@@ -59,7 +60,7 @@ build() {
 }
 
 package() {
-  cd "build"
+  cd "PrismLauncher/build"
   DESTDIR="$pkgdir" cmake --install .
 }