1 # Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org>
3 pkgname=strawberry-doom-svn
6 pkgdesc="A fork of Chocolate Doom extending certain engine limits"
8 url="http://doom.wikia.com/wiki/Strawberry_Doom"
10 depends=('sdl_mixer' 'sdl_net')
11 makedepends=('subversion' 'autoconf' 'automake' 'make')
12 provides=('strawberry-doom')
13 conflicts=('strawberry-doom')
15 _svntrunk="http://remood.svn.sourceforge.net/svnroot/remood/branches/strawberry-doom"
16 _svnmod="strawberry-doom"
19 msg "Connecting to SVN server..."
26 msg "Local files have been updated."
28 svn co $_svntrunk $_svnmod -r $pkgver --config-dir ./
31 msg "SVN checkout done or server timeout"
34 cp -rf $_svnmod/ $_svnmod-build/
37 sed 's|/games|/bin|g' -i {src,setup}/Makefile.am
38 sed 's|share/games|share|g' -i src/d_iwad.c
39 sed -e '/samplerate/d' \
40 -e 's| CFLAGS=|: # CFLAGS=|g' \
43 ./autogen.sh --prefix=/usr
45 msg "Starting make..."
48 make DESTDIR="$pkgdir" install
50 # remove default.cfg manpage (conflicting with Chocolate Doom's)
51 rm -f "$pkgdir"/usr/share/man/man5/default.cfg.5
54 # vim:set ts=2 sw=2 et: