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: bca97cfbacec8ba0b245d7bcdfc9acc283765a39

Message: update

Diff


diff --git a/.SRCINFO b/.SRCINFO
index aef49ff..fe7fe09 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,29 +2,14 @@ generated-by = makedeb
 pkgname = xivlauncher-cn
 pkgbase = xivlauncher-cn
 pkgdesc = Custom Launcher for Final Fantasy XIV Online CN for Ubuntu/Debian
-pkgrel = 1
+pkgrel = 2
 pkgver = 1.0.7.0
 url = https://github.com/ottercorp/XIVLauncher.Core
 arch = amd64
 conflicts = xivlauncher-git
-depends = build-essential
 depends = aria2
 depends = libsdl2-2.0-0
 depends = libsecret-1-0
-depends = attr
-depends = fontconfig
-depends = liblcms2-2
-depends = libxml2
-depends = libxcursor1
-depends = libxrandr2
-depends = libxdamage1
-depends = libxio0
-depends = gettext
-depends = libfreetype6
-depends = libglu1-mesa
-depends = libsm6
-depends = libpcap0.8
-depends = libfaudio0
 depends = desktop-file-utils
 depends = libjxr0
 depends = xdg-utils
@@ -32,6 +17,8 @@ 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
 source = XIVLauncher.desktop
 sha512sums = f9cd0c41276c4b09a4f00d5176f0bfa99b0ac89d9b42ce3aec21f61c80ede0788ebcee8dd9a6800fc3fa58c47e4163f22c3dfe30c690ef0f3e9e6736ab0bb6ed
+sha512sums = 0c33502cd915132151fa4b6c94899bf3f8806c2943469609cdda09365ff78be863215abd2741048d6c9a934a22dca0f8a8a2c67074c38abc6f67984c393859c4
 sha512sums = 637150af398fce40905c301f2c5953897769043cc1e5a52e7af8c6c83e13f50e48e707dd3b8b8dc554154fc825f3d0985716289c0a974059adaa3cabe7fe46a2
diff --git a/PKGBUILD b/PKGBUILD
index 042d13a..bccd380 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,30 +1,15 @@
 # Maintainer: chuan <chuan@ubuntu.org.cn>
 pkgname=xivlauncher-cn
 pkgver=1.0.7.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Custom Launcher for Final Fantasy XIV Online CN for Ubuntu/Debian"
 arch=('amd64')
 url='https://github.com/ottercorp/XIVLauncher.Core'
 license=('GPL')
 depends=(
-    'build-essential'
     'aria2'
     'libsdl2-2.0-0'
     'libsecret-1-0'
-    'attr'
-    'fontconfig'
-    'liblcms2-2'
-    'libxml2'
-    'libxcursor1'
-    'libxrandr2'
-    'libxdamage1'
-    'libxio0'
-    'gettext'
-    'libfreetype6'
-    'libglu1-mesa'
-    'libsm6'
-    'libpcap0.8'
-    'libfaudio0'
     'desktop-file-utils'
     'libjxr0'
     'xdg-utils'
@@ -37,26 +22,24 @@ 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'
     '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}/xivlauncher.png" "${pkgdir}/usr/share/pixmaps/xivlauncher.png"
+    install -D -m644 "${srcdir}/512.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"
 }