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: 93e7e7a2fbcd54d86b35ab90024e66a3099e84bc

Message: update

Diff


diff --git a/.SRCINFO b/.SRCINFO
index c60e979..cd1fa4c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,8 +2,8 @@ generated-by = makedeb
 pkgname = xivlauncher-cn
 pkgbase = xivlauncher-cn
 pkgdesc = Custom Launcher for Final Fantasy XIV Online CN
-pkgrel = 2
-pkgver = 1.0.2
+pkgrel = 3
+pkgver = 1.0.2.2
 url = https://github.com/ottercorp/XIVLauncher.Core
 arch = amd64
 conflicts = xivlauncher-git
@@ -29,13 +29,9 @@ depends = desktop-file-utils
 depends = libjxr0
 depends = xdg-utils
 license = GPL
-optdepends = steam
 options = !strip
-provides = xivlauncher=1.0.2
+provides = xivlauncher=1.0.2.2
 source = XIVLauncher.Core::git+https://github.com/ottercorp/XIVLauncher.Core.git
-source = XIVLauncher-CN.desktop
 sha512sums = SKIP
-sha512sums = 637150af398fce40905c301f2c5953897769043cc1e5a52e7af8c6c83e13f50e48e707dd3b8b8dc554154fc825f3d0985716289c0a974059adaa3cabe7fe46a2
 makedepends_x86_64 = dotnet-sdk-6.0
-optdepends = steam
 makedepends_x86_64 = dotnet-sdk-6.0
diff --git a/PKGBUILD b/PKGBUILD
index b200e55..35a20b8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
-# Maintainer: XIVLauncher Linux Maintainers <chuan@ubuntu.org.cn>
+# Maintainer: chuan <chuan@ubuntu.org.cn>
 pkgname=xivlauncher-cn
-pkgver=1.0.2
-pkgrel=2
+pkgver=1.0.2.2
+pkgrel=3
 pkgdesc="Custom Launcher for Final Fantasy XIV Online CN"
 arch=('amd64')
 url='https://github.com/ottercorp/XIVLauncher.Core'
@@ -30,18 +30,16 @@ depends=(
     'xdg-utils'
 )
 makedepends_x86_64=('dotnet-sdk-6.0')
-optdepends=('steam')
+optdepends=()
 options=('!strip')
 extensions=()
 provides=("xivlauncher=${pkgver}")
 conflicts=("xivlauncher-git")
 source=(
     "XIVLauncher.Core::git+https://github.com/ottercorp/XIVLauncher.Core.git"
-    "XIVLauncher-CN.desktop"
 )
 sha512sums=(
     'SKIP'
-    '637150af398fce40905c301f2c5953897769043cc1e5a52e7af8c6c83e13f50e48e707dd3b8b8dc554154fc825f3d0985716289c0a974059adaa3cabe7fe46a2'
 )
 
 build() {
@@ -49,14 +47,17 @@ build() {
     cd "${srcdir}/XIVLauncher.Core"
     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}
+    dotnet publish -r linux-x64 --sc -o "${srcdir}/build" --configuration Release
 }
 
 package() {
     install -d "${pkgdir}/usr/bin/"
     install -d "${pkgdir}/opt/XIVLauncher/"
-    install -D -m644 "${srcdir}/XIVLauncher-CN.desktop" "${pkgdir}/usr/share/applications/XIVLauncher-CN.desktop"
+    sed -i "s@Name=XIVLauncher@Name=XIVLauncher-CN@g" "${srcdir}/XIVLauncher.Core/misc/linux_distrib/XIVLauncher.desktop"
+    sed -i "s@Exec=xivlauncher@Exec=xivlauncher-cn@g" "${srcdir}/XIVLauncher.Core/misc/linux_distrib/XIVLauncher.desktop"
+    sed -i "s@the most critically acclaimed MMO@FFXIV CN@g" "${srcdir}/XIVLauncher.Core/misc/linux_distrib/XIVLauncher.desktop"
+    sed -i "s@Icon=xivlauncher@Icon=/usr/share/pixmaps/xivlauncher.png@g" "${srcdir}/XIVLauncher.Core/misc/linux_distrib/XIVLauncher.desktop"
+    install -D -m644 "${srcdir}/XIVLauncher.Core/misc/linux_distrib/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/"
     ln -s ../../opt/XIVLauncher/XIVLauncher.Core "${pkgdir}/usr/bin/xivlauncher-cn"