updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / twind / PKGBUILD
blob11195dd2056b93da943476b6764c88a4886404bc
2 # Maintainer: Dany Martineau <dany.luc.martineau gmail.com>
4 pkgname=twind
5 pkgver=1.1.0
6 pkgrel=4
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."
8 arch=('i686' 'x86_64')
9 url="http://sourceforge.net/projects/twind/"
10 license=(GPL)
11 depends=('sdl_mixer' 'sdl_image')
12 madepends=('make')
13 source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz Makefile.diff twind.desktop)
14 md5sums=('672dfe032e1f5657996b64cd666aef50' 'b839ef331ebe2640fa8d6a048d0b09e8' '313710aced314247752e8cc70eec4183')
15 install=(twind.install)
17 build() {
18 cd ${srcdir}/${pkgname}-${pkgver}
19 patch -p0 < ../Makefile.diff
20 make || return 1
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