1 # Maintainer: Mikael Eriksson <mikael_eriksson@miffe.org>
2 # Original PKGBUILD by Sean Streeter <anubis2591 at gmail dot com>
6 pkgdesc="Closed source OpenGL ZDoom port with Client/Server multiplayer."
8 url="http://skulltag.net/"
10 depends=('sdl' 'gtk2' 'libjpeg6')
11 optdepends=('timidity++: midi support'
12 'freedoom: free IWAD')
13 install=skulltag.install
17 source=("http://skulltag.net/download/files/release/st-v${pkgver}_linux-base.tar.bz2"
18 "http://skulltag.net/download/files/release/st-v${pkgver}_linux-x86.tar.bz2"
19 "http://www.fmod.org/index.php/release/version/fmodapi42416linux.tar.gz")
20 md5sums=('afe482e04ce3f51c94915e07c3aff3b0'
21 'faa005fc5b44da424d87d6a17eaafccb'
22 '00b157e8d09d539b0a7023c48b71422a')
25 source=("http://skulltag.net/download/files/release/st-v${pkgver}_linux-base.tar.bz2"
26 "http://skulltag.net/download/files/release/st-v${pkgver}_linux-x86_64.tar.bz2"
27 "http://www.fmod.org/index.php/release/version/fmodapi42416linux64.tar.gz")
28 depends=(${depends[@]} libpng12)
29 md5sums=('afe482e04ce3f51c94915e07c3aff3b0'
30 '46e677cc851698ac101d42b6140b6047'
31 '70b2a6a2618ee9823ab564b4e945c885')
38 cat > skulltag.sh << EOF
40 export LD_LIBRARY_PATH=/usr/share/skulltag/lib
41 exec /usr/share/skulltag/skulltag "\$@"
44 cat > skulltag-server.sh << EOF
46 export LD_LIBRARY_PATH=/usr/share/skulltag/lib
47 exec /usr/share/skulltag/skulltag-server "\$@"
50 install -Dm644 "announcer/Skulltag_98a_announcer.pk3" "$pkgdir/usr/share/skulltag/announcer/Skulltag_98a_announcer.pk3"
52 install -Dm644 "$fn" "$pkgdir/usr/share/skulltag/$fn"
54 install -Dm644 "Skulltag Version History.txt" "$pkgdir/usr/share/skulltag/Skulltag Version History.txt"
55 install -Dm644 "skulltag_data.pk3" "$pkgdir/usr/share/skulltag/skulltag_data.pk3"
56 install -Dm644 "skulltag.pk3" "$pkgdir/usr/share/skulltag/skulltag.pk3"
57 install -Dm755 "liboutput_sdl.so" "$pkgdir/usr/share/skulltag/lib/liboutput_sdl.so"
58 install -Dm755 "libsnes_spc.so" "$pkgdir/usr/share/skulltag/lib/libsnes_spc.so"
59 install -Dm755 "skulltag" "$pkgdir/usr/share/skulltag/skulltag"
60 install -Dm755 "skulltag-server" "$pkgdir/usr/share/skulltag/skulltag-server"
61 install -Dm755 "skulltag.sh" "$pkgdir/usr/bin/skulltag"
62 install -Dm755 "skulltag-server.sh" "$pkgdir/usr/bin/skulltag-server"
66 install -Dm755 "fmodapi42416linux/api/lib/libfmodex-4.24.16.so" "$pkgdir/usr/share/skulltag/lib/libfmodex-4.24.16.so"
69 install -Dm755 "fmodapi42416linux64/api/lib/libfmodex64-4.24.16.so" "$pkgdir/usr/share/skulltag/lib/libfmodex64-4.24.16.so"
74 # vim:set ts=2 sw=2 et: