makedeb


xivlauncher-git 1.1.1.0.r1.12e550b-1


Custom Launcher for Final Fantasy XIV Online (Crossplatform rewrite)

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

Commit:


Hash: 8fbd2099fdc614fce88b80944ec7addeaf5f4341

Message: Remove a hardcoded version check in place of vcproj parse.

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 96000e3..043af6f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 generated-by = makedeb
 pkgname = xivlauncher-git
-epoch = 1
+epoch = 2
 pkgbase = xivlauncher-git
 pkgdesc = Custom Launcher for Final Fantasy XIV Online (Crossplatform rewrite)
 pkgrel = 1
diff --git a/PKGBUILD b/PKGBUILD
index 7ca6d3b..42500a6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
 pkgname=xivlauncher-git
 pkgver=1.0.0.9.9f0b8dd
 pkgrel=1
-epoch=1
+epoch=2
 pkgdesc="Custom Launcher for Final Fantasy XIV Online (Crossplatform rewrite)"
 arch=('amd64')
 url='https://github.com/goatcorp/FFXIVQuickLauncher/'
@@ -50,7 +50,7 @@ sha512sums=(
 
 pkgver() {
     cd "${srcdir}/FFXIVQuickLauncher"
-    printf "%s.%s" "$(curl https://raw.githubusercontent.com/goatcorp/xlcore-distrib/main/version.txt)" "$(git rev-parse --short HEAD)"
+    printf "%s.%s" "$(sed -n 's:.*<Version>\(.*\)</Version>.*:\1:p' ${srcdir}/FFXIVQuickLauncher/src/XIVLauncher.Core/XIVLauncher.Core.csproj)" "$(git rev-parse --short HEAD)"
 }
 
 build() {