summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorD. Can Celasun <can@dcc.im>2018-06-28 10:00:50 +0200
committerD. Can Celasun <can@dcc.im>2018-06-28 10:00:50 +0200
commit463e2fd868af54fe8c48f00ee7fd044fce45f617 (patch)
treee9e1485cd1d15de4b2b60d3cdc54046ad5332ea8
downloadparadox-launcher-463e2fd868af54fe8c48f00ee7fd044fce45f617.tar.xz
[paradox-launcher] Initial commit
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD28
-rw-r--r--paradox-launcher11
-rw-r--r--paradox-launcher.desktop8
4 files changed, 69 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 0000000..8b1b6d2
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+# Generated by mksrcinfo v8
+# Thu Jun 28 08:00:19 UTC 2018
+pkgbase = paradox-launcher
+ pkgdesc = Paradox Interactive Game Launcher
+ pkgver = 1.0
+ pkgrel = 1
+ url = https://play.paradoxplaza.com/
+ arch = x86_64
+ license = custom
+ depends = libxi
+ depends = xdg-utils
+ depends = freetype2
+ depends = libgl
+ source = paradox-launcher-1.0.zip::http://launcher.paradoxplaza.com/linux_launcher
+ source = paradox-launcher
+ source = paradox-launcher.desktop
+ sha256sums = 7b20c104d20daf418cd479275de0df1d3f4e08fa36faf6aba08ea0a321aeeaa5
+ sha256sums = 481ead5d9a16b532c93589c036a44b41ca7d85193c0f0158fc5ec957fc1e2c46
+ sha256sums = 6687c73d211ae7e50a1658e7dd7900a5f5777fe54df3a89e4f96a5b8dc210a11
+
+pkgname = paradox-launcher
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 0000000..3b0af5e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Can Celasun <can[at]dcc[dot]im>
+
+pkgname=paradox-launcher
+pkgver=1.0
+pkgrel=1
+pkgdesc="Paradox Interactive Game Launcher"
+arch=('x86_64')
+url="https://play.paradoxplaza.com/"
+license=('custom')
+depends=("libxi" "xdg-utils" "freetype2" "libgl")
+source=(${pkgname}-${pkgver}.zip::http://launcher.paradoxplaza.com/linux_launcher
+ ${pkgname}
+ ${pkgname}.desktop)
+sha256sums=('7b20c104d20daf418cd479275de0df1d3f4e08fa36faf6aba08ea0a321aeeaa5'
+ '481ead5d9a16b532c93589c036a44b41ca7d85193c0f0158fc5ec957fc1e2c46'
+ '6687c73d211ae7e50a1658e7dd7900a5f5777fe54df3a89e4f96a5b8dc210a11')
+
+package() {
+ cd "${srcdir}"
+ mkdir -p "${pkgdir}"/opt/${pkgname}
+ mkdir -p "${pkgdir}"/usr/bin
+ cp -R "${srcdir}"/data/ "${pkgdir}"/opt/${pkgname} -R
+
+ install -m644 -D "${pkgdir}/opt/${pkgname}/data/desktop/icon.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
+ install -m644 -D "${pkgdir}/opt/${pkgname}/data/EULA" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -m644 -D "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
+ install -m755 -D "${srcdir}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
+}
diff --git a/paradox-launcher b/paradox-launcher
new file mode 100644
index 0000000..186a3d8
--- /dev/null
+++ b/paradox-launcher
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+DIR="${HOME}/.paradox-launcher"
+if [ ! -d "$DIR" ]; then
+ mkdir -p "$DIR"
+ cp /opt/paradox-launcher/* "$DIR" -R
+ chmod +x "$DIR"/data/bootstrapper/bootstrapper.sh
+fi
+
+cd "$DIR"
+"$DIR"/data/bootstrapper/bootstrapper.sh
diff --git a/paradox-launcher.desktop b/paradox-launcher.desktop
new file mode 100644
index 0000000..3ba643a
--- /dev/null
+++ b/paradox-launcher.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=Paradox Launcher
+Comment=Application for managing and playing games on Paradox Launcher
+Exec=/usr/bin/paradox-launcher %U
+Icon=paradox-launcher
+Terminal=false
+Type=Application
+Categories=Network;FileTransfer;Game;