1 # Maintainer: Gadget3000 <gadget3000 at msn dot com>
2 # Contributor: rabyte <rabyte__gmail>
7 pkgdesc="A SLIGE-based random map generator for Freedoom"
9 url="http://www.samiam.org/slump.html"
10 license=('GPL' 'custom:"slump"')
13 source=('http://www.samiam.org/slump/old/slump/slump-0.003.02.tar.bz2'
15 md5sums=('40069d684fe9a47a659dbc5d8182b37d'
16 '03dd7b8aeec8aea1cebe7d51d633e621')
19 cd ${srcdir}/$pkgname-$pkgver
22 sed -i "s|-g ||g" Makefile
24 # add revenant to monster range and fix a naming bug
25 sed -e '9229 s|FALSE|TRUE|' \
26 -e 's|"slige|"slump|g' \
29 # uncomment to add baron and hellknight (present in freedoom-svn only):
30 # sed -i -e '9158 s|FALSE|TRUE|' -e '9246 s|FALSE|TRUE|' slump.c
32 make FLAGS="${CFLAGS}" || return 1
33 install -m755 -D ${srcdir}/$pkgname-$pkgver/slump ${pkgdir}/usr/bin/slump
34 install -m644 -D ${srcdir}/license.txt ${pkgdir}/usr/share/licenses/custom/slump/license.txt