blob: 0b804ef2d63731bd57c3e0a5d2dbf8f0453ffe4c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Maintainer: Can Celasun <can[at]dcc[dot]im>
# Contributor: aqua <aqua[at]iserlohn-fortress[dot]net>
pkgname=paradox-launcher
pkgver=1.0_beta_29
pkgrel=1
pkgdesc="Paradox Interactive Game Launcher"
arch=('x86_64')
url="https://play.paradoxplaza.com/"
license=('custom')
depends=("libxi" "xdg-utils" "freetype2" "libgl" "gconf")
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
${pkgname}.local
${pkgname}.profile)
sha256sums=('7b20c104d20daf418cd479275de0df1d3f4e08fa36faf6aba08ea0a321aeeaa5'
'69f1b74b8fafd9af03d36652fff2806e5bac7270cca246d38043c868f998cfea'
'6687c73d211ae7e50a1658e7dd7900a5f5777fe54df3a89e4f96a5b8dc210a11'
'2c57617cb1b087cca69b439c5d1494b63a0ed56f97f1d5be2117efa60a8b21b2'
'cfa18c3bda9f2afb19e2d27de57f780c9019132f36db6359eebcb0d353d26c28')
package() {
cd "${srcdir}"
mkdir -p "${pkgdir}"/opt/${pkgname}
mkdir -p "${pkgdir}"/usr/bin
cp -R "${srcdir}"/data/ "${pkgdir}"/opt/${pkgname} -R
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 -Dm644 "$srcdir/$pkgname.local" "$pkgdir/etc/firejail/$pkgname.local"
install -Dm644 "$srcdir/$pkgname.profile" "$pkgdir/etc/firejail/$pkgname.profile"
}
|