blob: 36895d9f3045ed6531b993bc1ceff1c4057dc7b4 (
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
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# Maintainer: Slash <demodevil5 [at] yahoo [dot] com>
pkgname=prey-demo
pkgver=02192009
pkgrel=1
pkgdesc="Prey is a first person shooter based on the id Tech 4 engine using portals and variable gravity (Demo Version)."
arch=('i686' 'x86_64')
url="https://icculus.org/prey/"
license=('custom')
depends_x86_64=('lib32-libstdc++5' 'lib32-libxext' 'lib32-openal' 'lib32-sdl')
depends_i686=('libstdc++5' 'libxext' 'openal' 'sdl')
makedepends=('unzip')
install=prey-demo.install
source=("prey-demo.desktop" "prey-demo.launcher" \
"https://icculus.org/prey/downloads/$pkgname-installer-$pkgver.bin")
sha256sums=('f6df59507716e780fc5055356616d7b9310639a0332ca4830bef71cb7e72b074'
'9ad1b50e362bc9843b54b237722be10332e902a32b0839f2c01a700f82ef0fd7'
'cd2c179bb69224157411d90d7b613a3ce7a8214813c947ed7ccb2df5e15835f4')
package() {
# Create Destination Directory
install -d "$pkgdir/opt/prey-demo/"
# Install Game Files
cp -r "$srcdir/data/prey-demo-linux-x86/"* \
"$pkgdir/opt/prey-demo/"
# Install Data Files
cp -r "$srcdir/data/prey-demo-linux-data/"* \
"$pkgdir/opt/prey-demo/"
# Install Punkbuster Files
cp -r "$srcdir/data/punkbuster-linux-x86/"* \
"$pkgdir/opt/prey-demo/"
# Install Default Config
cp "$srcdir/data/configs/english.cfg" \
"$pkgdir/opt/prey-demo/base/default.cfg"
# Install License (Prey)
install -D -m 0644 "$srcdir/data/prey_demo_license.txt" \
"$pkgdir/usr/share/licenses/$pkgname/prey_demo_license.txt"
# Install License (Punkbuster)
install -D -m 0644 "$srcdir/data/punkbuster_license.txt" \
"$pkgdir/usr/share/licenses/$pkgname/punkbuster_license.txt"
# Install Desktop Shortcut
install -D -m 0644 "$srcdir/prey-demo.desktop" \
"$pkgdir/usr/share/applications/prey-demo.desktop"
# Install Client Launcher
install -D -m 0755 "$srcdir/prey-demo.launcher" \
"$pkgdir/usr/bin/prey-demo"
}
|