blob: a046fa7a6b18931c51bba391fce92533a4afecf5 (
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
57
58
59
|
# Maintainer: randomnobody <nobody "at" 420blaze "dot" it>
# Contributor: brent s. <bts[at]square-r00t[dot]net>
pkgname=zandronum
pkgver=3.1
pkgrel=2
_fmodex_ver=4.44.64
pkgdesc="OpenGL ZDoom port with Client/Server multiplayer"
arch=('x86_64')
url="https://zandronum.com/"
license=('custom')
depends=('sdl' 'libjpeg6-turbo' 'glu' 'openssl-1.1' 'fluidsynth')
optdepends=('timidity++: midi support' 'freedoom: free IWAD' 'gtk2: for a GUI selection screen' 'doomseeker: a GUI server browser')
makedepends=( 'zlib' 'sdl' 'libjpeg-turbo' 'nasm' 'gtk2' 'cmake' 'mercurial' 'fluidsynth' 'mesa' 'glu' )
_pkgname=zandronum
conflicts=('zandronum2')
install=zandronum.install
source=(
"https://zandronum.com/downloads/${_pkgname}${pkgver}-linux-x86_64.tar.bz2"
'LICENSE.txt'
"${pkgname}.launcher"
"${pkgname}-server.launcher"
"${pkgname}.png"
"${pkgname}.desktop"
)
sha256sums=(
'3dee92d2ab9ad9d7c485b46cac28c381e46ff9fe060695a9ca5034dd425dc9c6'
'c9407f638950af1dc4ff0884aa73a41490390b79435a81805a8e9c8c0ec84adf'
'2ff85effc7146b467201f473be5614dc109a03ae2528eafccffba5dcb8354b97'
'3e08296d00c8ee7445a9f9dfa6659acc7fd69ad672ae5382d79e1535413aa8fa'
'd10d4c39b5c0a6e7e94342c463daae55928b464baac8912cfbf8603dc50f10f5'
'dd20e904dacc5c181b711272f6908049202d0528608f648554721cc88659e523'
)
if [ "${CARCH}" == "x86_64" ];
then
_fmod_suffix="64"
else
_fmod_suffix=""
fi
package() {
cd ${srcdir}
install -Dm644 "zandronum.pk3" "${pkgdir}/usr/share/${pkgname}/zandronum.pk3"
install -Dm644 "brightmaps.pk3" "${pkgdir}/usr/share/${pkgname}/brightmaps.pk3"
install -Dm644 "skulltag_actors.pk3" "${pkgdir}/usr/share/${pkgname}/skulltag_actors.pk3"
install -Dm755 "zandronum" "${pkgdir}/usr/share/${pkgname}/zandronum"
install -Dm755 "zandronum-server" "${pkgdir}/usr/share/${pkgname}/zandronum-server"
install -Dm755 "zandronum.launcher" "${pkgdir}/usr/bin/zandronum"
install -Dm755 "zandronum-server.launcher" "${pkgdir}/usr/bin/zandronum-server"
install -Dm755 "libfmodex${_fmod_suffix}-${_fmodex_ver}.so" "${pkgdir}/usr/share/${pkgname}/lib/libfmodex${_fmod_suffix}-${_fmodex_ver}.so"
install -Dm644 "zandronum.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
install -Dm644 "zandronum.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
install -dm755 ${pkgdir}/usr/share/${pkgname}/lib
install -Dm644 "LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|