1 # Contributor: Micael Soder <zoulnix@gmail.com>
2 pkgname=bombermaaan-svn
5 pkgdesc="A classic Bomberman game with multiplayer support."
7 url="http://bombermaaan.sourceforge.net/"
10 makedepends=('gcc' 'make' 'patch' 'pkgconfig' 'subversion')
11 provides=('bombermaaan')
12 conflicts=('bombermaaan')
13 install=bombermaaan.install
14 source=(http://downloads.sourceforge.net/bombermaaan/Bombermaaan_1.4.0.627_20081018_res.tar.gz \
15 bombermaaan-Makefiles.patch \
19 md5sums=('6c12f92ba80788f5958f7d9b65c81307' '9e28cc9d8145ff578d7c23df27d44703' \
20 'c977c33d6974e6256b6e9668e6aedf3f' 'b60218af9f88738609f90e796853005d' \
21 'd44b4896cb8a9f65a47d9db697af82aa')
24 _svntrunk="https://opentibia.svn.sourceforge.net/svnroot/bombermaaan/trunk/src"
28 mkdir -p ${startdir}/pkg/usr/share/{applications,pixmaps}
30 msg "Getting sources..."
31 svn co ${_svntrunk} ${_svnmod} -r ${pkgver}
35 find ${startdir}/src/ -type d -name ".svn" -exec rm -rf { } \;
38 patch -Np1 -i ../${_svnmod}-Makefiles.patch || return 1
40 cp -r ${startdir}/src/Bombermaaan_1.4.0.627_20081018_res/* \
41 ${startdir}/src/${_svnmod}/
44 make prefix=/usr DESTDIR=${startdir}/pkg install || return 1
46 install -m644 ${startdir}/${_svnmod}.desktop ${startdir}/pkg/usr/share/applications/ || return 1
47 install -m644 ${startdir}/${_svnmod}.{png,svg} ${startdir}/pkg/usr/share/pixmaps/ || return 1