makedeb
Custom Launcher for Final Fantasy XIV Online CN for Ubuntu/Debian
Click here to go back to the commit logs for xivlauncher-cn.
Hash: f553a6390f32c124a01db2b938961134019eae08
Message: update
diff --git a/.SRCINFO b/.SRCINFO
index cd1fa4c..d264d40 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 = 3
-pkgver = 1.0.2.2
+pkgrel = 2
+pkgver = 1.0.2.3
url = https://github.com/ottercorp/XIVLauncher.Core
arch = amd64
conflicts = xivlauncher-git
@@ -30,8 +30,10 @@ depends = libjxr0
depends = xdg-utils
license = GPL
options = !strip
-provides = xivlauncher=1.0.2.2
+provides = xivlauncher=1.0.2.3
source = XIVLauncher.Core::git+https://github.com/ottercorp/XIVLauncher.Core.git
+source = XIVLauncher.desktop
sha512sums = SKIP
+sha512sums = 637150af398fce40905c301f2c5953897769043cc1e5a52e7af8c6c83e13f50e48e707dd3b8b8dc554154fc825f3d0985716289c0a974059adaa3cabe7fe46a2
makedepends_x86_64 = dotnet-sdk-6.0
makedepends_x86_64 = dotnet-sdk-6.0
diff --git a/PKGBUILD b/PKGBUILD
index 35a20b8..b2db645 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: chuan <chuan@ubuntu.org.cn>
pkgname=xivlauncher-cn
-pkgver=1.0.2.2
-pkgrel=3
+pkgver=1.0.2.3
+pkgrel=2
pkgdesc="Custom Launcher for Final Fantasy XIV Online CN"
arch=('amd64')
url='https://github.com/ottercorp/XIVLauncher.Core'
@@ -37,9 +37,11 @@ provides=("xivlauncher=${pkgver}")
conflicts=("xivlauncher-git")
source=(
"XIVLauncher.Core::git+https://github.com/ottercorp/XIVLauncher.Core.git"
+ "XIVLauncher.desktop"
)
sha512sums=(
'SKIP'
+ '637150af398fce40905c301f2c5953897769043cc1e5a52e7af8c6c83e13f50e48e707dd3b8b8dc554154fc825f3d0985716289c0a974059adaa3cabe7fe46a2'
)
build() {
@@ -53,11 +55,7 @@ build() {
package() {
install -d "${pkgdir}/usr/bin/"
install -d "${pkgdir}/opt/XIVLauncher/"
- 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.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"
diff --git a/XIVLauncher-CN.desktop b/XIVLauncher-CN.desktop
deleted file mode 100644
index 2b37c4c..0000000
--- a/XIVLauncher-CN.desktop
+++ /dev/null
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Name=XIVLauncher-CN
-Comment=Custom launcher for FFXIV CN
-Exec=xivlauncher-cn
-Icon=/usr/share/pixmaps/xivlauncher.png
-Terminal=false
-Type=Application
-Categories=Game;
-StartupWMClass=XIVLauncher.Core
diff --git a/XIVLauncher.desktop b/XIVLauncher.desktop
new file mode 100644
index 0000000..2b37c4c
--- /dev/null
+++ b/XIVLauncher.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=XIVLauncher-CN
+Comment=Custom launcher for FFXIV CN
+Exec=xivlauncher-cn
+Icon=/usr/share/pixmaps/xivlauncher.png
+Terminal=false
+Type=Application
+Categories=Game;
+StartupWMClass=XIVLauncher.Core