blob: 9d6692f329792e0ae7e1ac786d371bda31044a48 (
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
|
# Maintainer: SanskritFritz (gmail)
# Contributor: Jason Melton <jason.melton@gmail.com>
# Contributor: Tiago Pierezan Camargo <tcamargo@gmail.com>
# Contributor: Paul Bredbury <brebs@sent.com>
# Contributor: Benjamin Dirks <asaru[at]wtnet[dot]de>
pkgname=worldofpadman
pkgver=1.7.0
pkgrel=2
pkgdesc="Cartoon-style multiplayer first-person shooter"
arch=('x86_64')
url="https://worldofpadman.net/en/"
license=('GPL' 'custom')
depends=('curl' 'libogg' 'libvorbis' 'mesa' 'openal' 'sdl')
makedepends=('unzip')
source=("https://github.com/PadWorld-Entertainment/worldofpadman/releases/download/v$pkgver/wop-$pkgver-unified.zip"
'worldofpadman.desktop')
_gamedir="/usr/share/$pkgname"
package() {
# cd "$srcdir/worldofpadman-1-7-0"
## Binaries
install -D -m755 wop.x86_64 "$pkgdir/$_gamedir/wop.bin"
install -D -m755 wopded.x86_64 "$pkgdir/$_gamedir/wopded.bin"
install -D -m755 renderer_opengl2_x86_64.so "$pkgdir/$_gamedir/renderer_opengl2_x86_64.so"
install -D -m755 renderer_opengl1_x86_64.so "$pkgdir/$_gamedir/renderer_opengl1_x86_64.so"
cat >wop.sh <<EOF
#!/bin/bash
cd $_gamedir && exec ./wop.bin "\$@"
EOF
cat >wopded.sh <<EOF
#!/bin/bash
cd $_gamedir && exec ./wopded.bin "\$@"
EOF
install -D -m755 wop.sh "$pkgdir/usr/bin/wop"
install -D -m755 wopded.sh "$pkgdir/usr/bin/wopded"
cp --recursive wop "$pkgdir/$_gamedir/wop"
cp --recursive XTRAS "$pkgdir/$_gamedir/XTRAS"
install -D -m755 XTRAS/wop.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/wop.svg"
install -D -m755 "$srcdir/worldofpadman.desktop" "$pkgdir/usr/share/applications/worldofpadman.desktop"
}
sha256sums=('2eb94c0d98dadc70ce0f2e87780280cdbffd4a838b267f523835dc91bed30714'
'8d99702ee5255f5ea253aaf12d78f5056e0814bcc727ba2350021fb81fbad60b')
|