makedeb


xivlauncher-cn 1.0.7.2-1


Custom Launcher for Final Fantasy XIV Online CN for Ubuntu/Debian

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

Commit:


Hash: 8e20a978d64fc74c1c9373136e6bb7f0ac595477

Message: v1.0.7.0

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 4f9c116..aef49ff 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
 generated-by = makedeb
 pkgname = xivlauncher-cn
 pkgbase = xivlauncher-cn
-pkgdesc = Custom Launcher for Final Fantasy XIV Online CN for Ubuntu (Debian please install dotnet-sdk-6.0 by yourself )
+pkgdesc = Custom Launcher for Final Fantasy XIV Online CN for Ubuntu/Debian
 pkgrel = 1
-pkgver = 1.0.6.2
+pkgver = 1.0.7.0
 url = https://github.com/ottercorp/XIVLauncher.Core
 arch = amd64
 conflicts = xivlauncher-git
@@ -30,10 +30,8 @@ depends = libjxr0
 depends = xdg-utils
 license = GPL
 options = !strip
-provides = xivlauncher=1.0.6.2
-source = XIVLauncher.Core::git+https://github.com/ottercorp/XIVLauncher.Core.git
+provides = xivlauncher=1.0.7.0
+source = https://github.com/ottercorp/XIVLauncher.Core/releases/download/1.0.7.0/XIVLauncher.Core.tar.gz
 source = XIVLauncher.desktop
-sha512sums = SKIP
+sha512sums = f9cd0c41276c4b09a4f00d5176f0bfa99b0ac89d9b42ce3aec21f61c80ede0788ebcee8dd9a6800fc3fa58c47e4163f22c3dfe30c690ef0f3e9e6736ab0bb6ed
 sha512sums = 637150af398fce40905c301f2c5953897769043cc1e5a52e7af8c6c83e13f50e48e707dd3b8b8dc554154fc825f3d0985716289c0a974059adaa3cabe7fe46a2
-makedepends_x86_64 = dotnet-sdk-6.0
-makedepends_x86_64 = dotnet-sdk-6.0
diff --git a/PKGBUILD b/PKGBUILD
index 020474f..042d13a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
 # Maintainer: chuan <chuan@ubuntu.org.cn>
 pkgname=xivlauncher-cn
-pkgver=1.0.6.2
+pkgver=1.0.7.0
 pkgrel=1
-pkgdesc="Custom Launcher for Final Fantasy XIV Online CN for Ubuntu (Debian please install dotnet-sdk-6.0 by yourself )"
+pkgdesc="Custom Launcher for Final Fantasy XIV Online CN for Ubuntu/Debian"
 arch=('amd64')
 url='https://github.com/ottercorp/XIVLauncher.Core'
 license=('GPL')
@@ -29,35 +29,34 @@ depends=(
     'libjxr0'
     'xdg-utils'
 )
-makedepends_x86_64=('dotnet-sdk-6.0')
+makedepends_x86_64=()
 optdepends=()
 options=('!strip')
 extensions=()
 provides=("xivlauncher=${pkgver}")
 conflicts=("xivlauncher-git")
 source=(
-    "XIVLauncher.Core::git+https://github.com/ottercorp/XIVLauncher.Core.git"
+    "https://github.com/ottercorp/XIVLauncher.Core/releases/download/$pkgver/XIVLauncher.Core.tar.gz"
     "XIVLauncher.desktop"
 )
 sha512sums=(
-    'SKIP'
+    'f9cd0c41276c4b09a4f00d5176f0bfa99b0ac89d9b42ce3aec21f61c80ede0788ebcee8dd9a6800fc3fa58c47e4163f22c3dfe30c690ef0f3e9e6736ab0bb6ed'
     '637150af398fce40905c301f2c5953897769043cc1e5a52e7af8c6c83e13f50e48e707dd3b8b8dc554154fc825f3d0985716289c0a974059adaa3cabe7fe46a2'
 )
 
 build() {
-    mkdir -p "${srcdir}/build"
-    cd "${srcdir}/XIVLauncher.Core"
-    git submodule update --init --recursive
-    cd "${srcdir}/XIVLauncher.Core/src/XIVLauncher.Core/"
-    dotnet publish -r linux-x64 --sc --configuration Release -p:DefineConstants=WINE_XIV_UBUNTU_LINUX -o "${srcdir}/build"
+    cd "${srcdir}"
+    wget "https://raw.githubusercontent.com/ottercorp/XIVLauncher.Core/cn/misc/linux_distrib/512.png" -O "${srcdir}/xivlauncher.png"
 }
 
 package() {
     install -d "${pkgdir}/usr/bin/"
     install -d "${pkgdir}/opt/XIVLauncher/"
     install -D -m644 "${srcdir}/XIVLauncher.desktop" "${pkgdir}/usr/share/applications/XIVLauncher.desktop"
-    install -D -m644 "${srcdir}/XIVLauncher.Core/misc/linux_distrib/512.png" "${pkgdir}/usr/share/pixmaps/xivlauncher.png"
-    cp -r "${srcdir}/build/." "${pkgdir}/opt/XIVLauncher/"
+    install -D -m644 "${srcdir}/xivlauncher.png" "${pkgdir}/usr/share/pixmaps/xivlauncher.png"
+    cp -r "${srcdir}/." "${pkgdir}/opt/XIVLauncher/"
+    rm "${pkgdir}/opt/XIVLauncher/XIVLauncher.Core.tar.gz"
+    rm "${pkgdir}/opt/XIVLauncher/XIVLauncher.desktop"
     ln -s ../../opt/XIVLauncher/XIVLauncher.Core "${pkgdir}/usr/bin/xivlauncher-cn"
 }