1 # Contributor: Micael Soder <zoulnix@gmail.com>
5 pkgdesc="A classic Bomberman game with multiplayer support."
7 url="http://bombermaaan.sourceforge.net/"
10 makedepends=('gcc' 'make' 'patch' 'pkgconfig')
11 install=${pkgname}.install
12 source=(http://downloads.sourceforge.net/${pkgname}/Bombermaaan_${pkgver}.627_20081018_src.tar.gz \
13 http://downloads.sourceforge.net/${pkgname}/Bombermaaan_${pkgver}.627_20081018_res.tar.gz \
14 ${pkgname}-Makefiles.patch \
18 md5sums=('ee90bdd9654f0886c9585e6d785a1f52' '6c12f92ba80788f5958f7d9b65c81307' \
19 '9e28cc9d8145ff578d7c23df27d44703' 'c977c33d6974e6256b6e9668e6aedf3f' \
20 'b60218af9f88738609f90e796853005d' 'd44b4896cb8a9f65a47d9db697af82aa')
24 mkdir -p ${startdir}/pkg/usr/share/{applications,pixmaps}
25 cp -r Bombermaaan_${pkgver}.627_20081018_res/* \
26 Bombermaaan_${pkgver}.627_20081018_src/
28 cd ${startdir}/src/Bombermaaan_${pkgver}.627_20081018_src
31 patch -Np1 -i ../${pkgname}-Makefiles.patch || return 1
34 make prefix=/usr DESTDIR=${startdir}/pkg install || return 1
36 install -m644 ${startdir}/${pkgname}.desktop ${startdir}/pkg/usr/share/applications/ || return 1
37 install -m644 ${startdir}/${pkgname}.{png,svg} ${startdir}/pkg/usr/share/pixmaps/ || return 1