1 # Contributor: Christoph Zeiler <rabyte*gmail>
2 # Maintainer: yugrotavele <yugrotavele at archlinux dot us>
7 pkgdesc="A Breakout clone with pretty graphics"
9 url="http://sdl-ball.sourceforge.net/"
11 depends=('libgl' 'wiiuse' 'sdl_mixer' 'sdl_ttf' 'sdl_image' 'mesa' 'gimp>=2' 'libbtctl')
12 source=($pkgname-$pkgver.tar.bz2::http://sourceforge.net/projects/$pkgname/files/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2/download
14 md5sums=('adf6ff4f4e4ffcff63428281f27c96d7'
15 'eb9fb4483bd01020c8aba0db74c6cbff')
20 export LIBS="-lwiiuse"
21 export CFLAGS="${CXXFLAGS} -DWITH_WIIUSE"
24 make DATADIR="/usr/share/$pkgname/themes/"
26 mkdir -p $pkgdir/usr/{bin,share/{$pkgname,applications,pixmaps}}
27 install -m755 $pkgname "$pkgdir/usr/bin/"
28 cp -rf README themes/ "$pkgdir/usr/share/$pkgname/"
29 install -m644 themes/default/icon32.png "$pkgdir/usr/share/pixmaps/$pkgname.png"
30 install -m644 ../$pkgname.desktop "$pkgdir/usr/share/applications/"
32 cd leveleditor/gimp-leveleditor
33 gimptool-2.0 --build gimp-sdlball.c
34 install -Dm755 gimp-sdlball "$pkgdir/usr/lib/gimp/2.0/plug-ins/gimp-sdlball"