diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 17 |
1 files changed, 13 insertions, 4 deletions
@@ -2,18 +2,23 @@ pkgname=paradox-launcher pkgver=1.0_beta_24 -pkgrel=1 +pkgrel=2 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 +optdepends=('firejail: launch a sandboxed instance') +source=(${pkgname}-${pkgver}.zip::https://launcher.paradoxplaza.com/linux_launcher ${pkgname} - ${pkgname}.desktop) + ${pkgname}.desktop + ${pkgname}.local + ${pkgname}.profile) sha256sums=('7b20c104d20daf418cd479275de0df1d3f4e08fa36faf6aba08ea0a321aeeaa5' '481ead5d9a16b532c93589c036a44b41ca7d85193c0f0158fc5ec957fc1e2c46' - '6687c73d211ae7e50a1658e7dd7900a5f5777fe54df3a89e4f96a5b8dc210a11') + '6687c73d211ae7e50a1658e7dd7900a5f5777fe54df3a89e4f96a5b8dc210a11' + '830972b3e79a85972ddac50e550458238b755c170dbd2370e22fb6cb283fa634' + '42e63fa3fb19d5e0be940d4b697ab688a958f709580cc3681279f98fc299e9b9') package() { cd "${srcdir}" @@ -25,4 +30,8 @@ package() { 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}" + + # firejail profile + install -m644 -D "$srcdir/$pkgname.local" "$pkgdir/etc/firejail/$pkgname.local" + install -m644 -D "$srcdir/$pkgname.profile" "$pkgdir/etc/firejail/$pkgname.profile" } |