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: bcf7583cee73db0c1c213fbeef2c818732b61470
Message: update 1.0.7.1
diff --git a/.SRCINFO b/.SRCINFO
index fe7fe09..f5591b3 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 for Ubuntu/Debian
-pkgrel = 2
-pkgver = 1.0.7.0
+pkgrel = 1
+pkgver = 1.0.7.1
url = https://github.com/ottercorp/XIVLauncher.Core
arch = amd64
conflicts = xivlauncher-git
@@ -15,10 +15,8 @@ depends = libjxr0
depends = xdg-utils
license = GPL
options = !strip
-provides = xivlauncher=1.0.7.0
-source = https://github.com/ottercorp/XIVLauncher.Core/releases/download/1.0.7.0/XIVLauncher.Core.tar.gz
-source = 512.png::https://raw.githubusercontent.com/ottercorp/XIVLauncher.Core/main/misc/linux_distrib/512.png
+provides = xivlauncher=1.0.7.1
+source = https://github.com/ottercorp/XIVLauncher.Core/releases/download/1.0.7.1/XIVLauncher.Core.tar.gz
source = XIVLauncher.desktop
-sha512sums = f9cd0c41276c4b09a4f00d5176f0bfa99b0ac89d9b42ce3aec21f61c80ede0788ebcee8dd9a6800fc3fa58c47e4163f22c3dfe30c690ef0f3e9e6736ab0bb6ed
-sha512sums = 0c33502cd915132151fa4b6c94899bf3f8806c2943469609cdda09365ff78be863215abd2741048d6c9a934a22dca0f8a8a2c67074c38abc6f67984c393859c4
+sha512sums = 17d083aaf5bccba8bb061f746bde8dead4bf02fa43502f8475835d26dc6552947da085c9e63a61fde720bd71bba099b9ab883659d2fb81ac12a1a72e1be6ba7e
sha512sums = 637150af398fce40905c301f2c5953897769043cc1e5a52e7af8c6c83e13f50e48e707dd3b8b8dc554154fc825f3d0985716289c0a974059adaa3cabe7fe46a2
diff --git a/PKGBUILD b/PKGBUILD
index bccd380..6dfe34c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: chuan <chuan@ubuntu.org.cn>
pkgname=xivlauncher-cn
-pkgver=1.0.7.0
-pkgrel=2
+pkgver=1.0.7.1
+pkgrel=1
pkgdesc="Custom Launcher for Final Fantasy XIV Online CN for Ubuntu/Debian"
arch=('amd64')
url='https://github.com/ottercorp/XIVLauncher.Core'
@@ -22,24 +22,26 @@ provides=("xivlauncher=${pkgver}")
conflicts=("xivlauncher-git")
source=(
"https://github.com/ottercorp/XIVLauncher.Core/releases/download/$pkgver/XIVLauncher.Core.tar.gz"
- "512.png::https://raw.githubusercontent.com/ottercorp/XIVLauncher.Core/main/misc/linux_distrib/512.png"
"XIVLauncher.desktop"
)
sha512sums=(
- 'f9cd0c41276c4b09a4f00d5176f0bfa99b0ac89d9b42ce3aec21f61c80ede0788ebcee8dd9a6800fc3fa58c47e4163f22c3dfe30c690ef0f3e9e6736ab0bb6ed'
- '0c33502cd915132151fa4b6c94899bf3f8806c2943469609cdda09365ff78be863215abd2741048d6c9a934a22dca0f8a8a2c67074c38abc6f67984c393859c4'
+ '17d083aaf5bccba8bb061f746bde8dead4bf02fa43502f8475835d26dc6552947da085c9e63a61fde720bd71bba099b9ab883659d2fb81ac12a1a72e1be6ba7e'
'637150af398fce40905c301f2c5953897769043cc1e5a52e7af8c6c83e13f50e48e707dd3b8b8dc554154fc825f3d0985716289c0a974059adaa3cabe7fe46a2'
)
+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}/512.png" "${pkgdir}/usr/share/pixmaps/xivlauncher.png"
+ 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"
- rm "${pkgdir}/opt/XIVLauncher/512.png"
ln -s ../../opt/XIVLauncher/XIVLauncher.Core "${pkgdir}/usr/bin/xivlauncher-cn"
}