makedeb


xivlauncher 1.1.1-1


Custom Launcher for Final Fantasy XIV Online (Crossplatform rewrite)

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

Commit:


Hash: e6bed97bbdac6ab66dca264a9bb47568ffb7362f

Message: Try moving some things to prepare() to see if that makes mist happy.

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 70450ec..1274e1b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,7 +2,7 @@ generated-by = makedeb
 pkgname = xivlauncher
 pkgbase = xivlauncher
 pkgdesc = Custom Launcher for Final Fantasy XIV Online (Crossplatform rewrite)
-pkgrel = 2
+pkgrel = 3
 pkgver = 1.0.3
 url = https://github.com/goatcorp/FFXIVQuickLauncher/
 arch = amd64
diff --git a/PKGBUILD b/PKGBUILD
index 5b9fa52..a998d4b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
 pkgname=xivlauncher
 pkgver=1.0.3
 _pkgver=c2e02fd2b48876b4a00ba278c240f8a6361d3455
-pkgrel=2
+pkgrel=3
 pkgdesc="Custom Launcher for Final Fantasy XIV Online (Crossplatform rewrite)"
 arch=('amd64')
 url='https://github.com/goatcorp/FFXIVQuickLauncher/'
@@ -47,12 +47,26 @@ sha512sums=(
     'c702d45b607a54716ae3f1c9b0aa548b3226da76b0ae4b8a88e49d16e5117a7ff5164e7dd5b6a2799a16a18d53b2de55a26a87888054c25152df5c4824b38fe0'
     'dad16da8e1d2bc772f7e1be1f59fd799c596fa88fb77a7e58a94baf10a1ca2f0ad7e79ad3baa8ba24e35dd0bc748884c74371c447816b1ea61098f58a130313a'
 )
-
+prepare() {
+    cd XIVLauncher.Core
+    git checkout tags/${pkgver}
+    git submodule update --init --recursive
+}
 build() {
     mkdir -p "${srcdir}/build"
-    cd "${srcdir}/XIVLauncher.Core"
-    git checkout ${_pkgver}
-    git submodule update --init --recursive
+#    cd "${srcdir}/XIVLauncher.Core"
+#    if [ -d ".git" ]
+#    then
+#        echo "why. Something is making git weird."
+#        git init
+#        git add --all
+#        git commit -am "re-init"
+#        git remote add origin https://github.com/goatcorp/XIVLauncher.Core.git
+#    else
+#        echo "git is OK"
+#    fi
+#    git checkout ${_pkgver}
+#    git submodule update --init --recursive
     cd "${srcdir}/XIVLauncher.Core/src/XIVLauncher.Core/"
     #echo "Building XIVLauncher ${pkgver}-${_pkgver:0:7}"
     dotnet publish -r linux-x64 --sc -o "${srcdir}/build" --configuration Release # -p:BuildHash=${_pkgver:0:7}