summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD27
-rw-r--r--XIVLauncher.desktop9
3 files changed, 38 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index dace002c10d4..59ad0802c568 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,20 @@
pkgbase = xivlauncher
pkgdesc = Custom Launcher for Final Fantasy XIV Online (Crossplatform rewrite)
pkgver = 6.2.31
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/goatcorp/FFXIVQuickLauncher/
arch = x86_64
license = GPL
- makedepends = dotnet-sdk
+ makedepends = dotnet-sdk>=6
depends = aria2
+ depends = sdl2
+ depends = libsecret
optdepends = steam
source = FFXIVQuickLauncher::git+https://github.com/goatcorp/FFXIVQuickLauncher.git#tag=6.2.31
+ source = https://raw.githubusercontent.com/goatcorp/FFXIVQuickLauncher/master/src/XIVLauncher.Core/Resources/logo.png
+ source = XIVLauncher.desktop
sha512sums = SKIP
+ sha512sums = 4f16ba269ecd60c16a125db5e986d0bdabd69ac51d03ccb01a7203ddd04dea9d40147ee412bbfc37921ca83ff70a966258ae729bcada95ce1582b43160686694
+ sha512sums = 5ac774f858d4015c59e6758e2a706b93e822bca9c046ed87210deabc141ac101020d2654fbcf8314f9409a4cfcf921d1e26ec0a3b0beab02d1bcd045fb6e6f14
pkgname = xivlauncher
diff --git a/PKGBUILD b/PKGBUILD
index 742bd70d3c13..69cd32442435 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,16 +1,28 @@
# Maintainer: Vincent Post <cent@spline.de>
pkgname=xivlauncher
pkgver=6.2.31
-pkgrel=1
+pkgrel=2
pkgdesc="Custom Launcher for Final Fantasy XIV Online (Crossplatform rewrite)"
arch=('x86_64')
url='https://github.com/goatcorp/FFXIVQuickLauncher/'
license=('GPL')
-depends=('aria2')
-makedepends=('dotnet-sdk')
+depends=(
+ 'aria2'
+ 'sdl2'
+ 'libsecret'
+)
+makedepends=('dotnet-sdk>=6')
optdepends=('steam')
-source=("FFXIVQuickLauncher::git+https://github.com/goatcorp/FFXIVQuickLauncher.git#tag=${pkgver}")
-sha512sums=('SKIP')
+source=(
+ "FFXIVQuickLauncher::git+https://github.com/goatcorp/FFXIVQuickLauncher.git#tag=${pkgver}"
+ "https://raw.githubusercontent.com/goatcorp/FFXIVQuickLauncher/master/src/XIVLauncher.Core/Resources/logo.png"
+ "XIVLauncher.desktop"
+)
+sha512sums=(
+ 'SKIP'
+ '4f16ba269ecd60c16a125db5e986d0bdabd69ac51d03ccb01a7203ddd04dea9d40147ee412bbfc37921ca83ff70a966258ae729bcada95ce1582b43160686694'
+ '5ac774f858d4015c59e6758e2a706b93e822bca9c046ed87210deabc141ac101020d2654fbcf8314f9409a4cfcf921d1e26ec0a3b0beab02d1bcd045fb6e6f14'
+)
build() {
mkdir "${srcdir}/build"
@@ -19,7 +31,10 @@ build() {
}
package() {
- mkdir -p "${pkgdir}/opt/XIVLauncher" "${pkgdir}/usr/bin"
+ 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}/logo.png" "${pkgdir}/usr/share/pixmaps/xivlauncher.png"
cp -r "${srcdir}/build/." "${pkgdir}/opt/XIVLauncher/"
ln -s ../../opt/XIVLauncher/XIVLauncher.Core "${pkgdir}/usr/bin/XIVLauncher.Core"
}
diff --git a/XIVLauncher.desktop b/XIVLauncher.desktop
new file mode 100644
index 000000000000..a49bf4979b24
--- /dev/null
+++ b/XIVLauncher.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=XIVLauncher.Core
+Comment=Custom launcher for Final Fantasy XIV Online
+Exec=XIVLauncher.Core
+Icon=xivlauncher
+Terminal=false
+Type=Application
+Categories=Application;Game;
+StartupWMClass=XIVLauncher.Core