summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-07-22 13:57:27 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2018-07-22 13:59:02 +0200
commit1de20a8e7c0b8df64d099376c2553ce146ac3226 (patch)
treedde39875b15d27a0049a900e38ea4c34ff5d1bdc
parentAdd firejail profile (diff)
downloadparadox-launcher-1de20a8e7c0b8df64d099376c2553ce146ac3226.tar.xz
Add some commonly needed optdepends
-rw-r--r--PKGBUILD20
-rw-r--r--paradox-launcher.profile2
2 files changed, 14 insertions, 8 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 81bf223..1bb663d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,4 +1,5 @@
# Maintainer: Can Celasun <can[at]dcc[dot]im>
+# Contributor: aqua <aqua[at]iserlohn-fortress[dot]net>
pkgname=paradox-launcher
pkgver=1.0_beta_24
@@ -8,7 +9,11 @@ arch=('x86_64')
url="https://play.paradoxplaza.com/"
license=('custom')
depends=("libxi" "xdg-utils" "freetype2" "libgl")
-optdepends=('firejail: launch a sandboxed instance')
+optdepends=('firejail: launch a sandboxed instance'
+ 'lib32-mesa: 32-bit game support'
+ 'lib32-util-linux: 32-bit game support'
+ 'lib32-libpulse: 32-bit game sound support'
+ 'lib32-alsa-plugins: 32-bit game sound support')
source=(${pkgname}-${pkgver}.zip::https://launcher.paradoxplaza.com/linux_launcher
${pkgname}
${pkgname}.desktop
@@ -26,12 +31,13 @@ package() {
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}"
+ install -Dm644 "${pkgdir}/opt/${pkgname}/data/desktop/icon.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
+ install -Dm644 "${pkgdir}/opt/${pkgname}/data/EULA" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -Dm644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
+ install -Dm755 "${srcdir}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
# firejail profile
- install -m644 -D "$srcdir/$pkgname.local" "$pkgdir/etc/firejail/$pkgname.local"
- install -m644 -D "$srcdir/$pkgname.profile" "$pkgdir/etc/firejail/$pkgname.profile"
+ install -Dm644 "$srcdir/$pkgname.local" "$pkgdir/etc/firejail/$pkgname.local"
+ install -Dm644 "$srcdir/$pkgname.profile" "$pkgdir/etc/firejail/$pkgname.profile"
}
+
diff --git a/paradox-launcher.profile b/paradox-launcher.profile
index 03a2606..c9adb3a 100644
--- a/paradox-launcher.profile
+++ b/paradox-launcher.profile
@@ -3,4 +3,4 @@ include /etc/firejail/globals.local
# This file is overwritten during software install.
# Persistent customizations should go in a .local file.
-include /etc/firejail/generic-game-networked.local
+include /etc/firejail/paradox-launcher.local