1 # Contributor: Evangelos Foutras <evangelos@foutrelis.com>
6 pkgdesc="A Super Mario multiplayer game"
8 url="http://smw.72dpiarmy.com/"
10 depends=('gcc-libs' 'sdl_mixer' 'sdl_image' 'desktop-file-utils')
13 source=(http://www.fileden.com/files/2007/9/11/1425938/$pkgname-1.7afe-src.zip
17 md5sums=('9dff7aa6d1ec9e3b08e4b8a75932dd1f'
18 '78b87b9c99c232ecc9f659a4994da12b'
19 'b7f5ef181e41eb0339be746ea03ff628'
20 '741167ac89de09fb362b5efd98069cd1')
23 cd "$srcdir/${pkgname}1.7afe"
25 patch -p1 -i "$srcdir/gcc43.patch" || return 1
26 sed -i 's/\r//g' configure
30 make DESTDIR="$pkgdir" install
32 # Set sane permissions
33 find "$pkgdir/usr/share/$pkgname" -type d -exec chmod 755 {} \;
34 find "$pkgdir/usr/share/$pkgname" -type f -exec chmod 644 {} \;
36 # Install application shortcut and icon
37 install -D -m644 "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
38 install -D -m644 "$srcdir/$pkgname.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"