2 # Maintainer: Dany Martineau <dany.luc.martineau gmail.com>
7 pkgdesc="simple puzzle game where you must remove all of the blocks of the same color from the screen before the time runs out."
9 url="http://sourceforge.net/projects/twind/"
11 depends=('sdl_mixer' 'sdl_image')
13 source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz Makefile.diff twind.desktop)
14 md5sums=('672dfe032e1f5657996b64cd666aef50' 'b839ef331ebe2640fa8d6a048d0b09e8' '313710aced314247752e8cc70eec4183')
15 install=(twind.install)
18 cd ${srcdir}/${pkgname}-${pkgver}
19 patch -p0 < ../Makefile.diff
21 mkdir -p ${pkgdir}/usr/share/twind/{graphics,music,sound}
22 cp -r graphics/*.png ${pkgdir}/usr/share/twind/graphics
23 cp -r music/*.ogg ${pkgdir}/usr/share/twind/music
24 cp -r sound/*.wav ${pkgdir}/usr/share/twind/sound
25 install -D -m755 twind ${pkgdir}/usr/bin/twind
26 install -D ${srcdir}/twind.desktop ${pkgdir}/usr/share/applications/twind.desktop