blob: 2ea91b7327c895001b908432b0d0b32645ee6245 (
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
|
# Maintainer Pol Marcet Sardà <polmarcetsarda@gmail.com>
# Contributor: Reotip Sakuraga <reotipfur@gmail.com>
pkgname=doomseeker
pkgver=1.2
pkgrel=20180328
pkgdesc="A cross-platform Doom server browser"
arch=(i686 x86_64)
url="http://doomseeker.drdteam.org/"
license=("GPL2")
depends=('zlib' 'bzip2' 'qt5-tools' 'qt5-base' 'qt5-multimedia')
makedepends=('gcc' 'cmake' 'make' 'mercurial')
optdepends=('qt4: A cross-platform application and UI framework'
'zandronum: GZDoom fork supporting client/server multiplayer'
'odamex: Classic client/server multiplayer fork'
'chocolate-doom: Doom source port accurately reproducing the original DOS versions of Doom'
'srb2: A 3D Sonic fan game based off of Doom Legacy (aka "Sonic Robo Blast 2")')
source=("hg+https://bitbucket.org/Doomseeker/doomseeker#revision=5aaddc0"
"doomseeker.desktop"
"doomseeker-launch-script.sh")
sha256sums=('SKIP'
'64004248a2dd3771292e63717a05e1859f1ffe6d6fd5f16ebfa1427b9a43533f'
'96fca72228a50d80b019adf3c82b8800a9d7f03994252e544513537541d011a4')
_bbdir=doomseeker
build() {
cd $srcdir/$_bbdir
mkdir -p build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_SKIP_RPATH=true -DCMAKE_INSTALL_PREFIX=/usr .. && \
make -j$(nproc)
}
package() {
mkdir -p $pkgdir/usr/games/doomseeker/engines/
cd $srcdir/$_bbdir/build
install -Dm755 doomseeker "$pkgdir/usr/games/doomseeker"
for f in libwadseeker.so*; do
install -Dm755 $f "$pkgdir/usr/games/doomseeker"
done
cd engines
for f in *.so; do
install -Dm755 $f "$pkgdir/usr/games/doomseeker/engines/$f"
done
cd ../../
install -Dm644 media/icon.png "$pkgdir/usr/share/pixmaps/doomseeker.png"
install -Dm755 $srcdir/../doomseeker-launch-script.sh "$pkgdir/usr/bin/doomseeker"
install -Dm644 "$srcdir/../doomseeker.desktop" "$pkgdir/usr/share/applications/doomseeker.desktop"
}
|