updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / arkanoidsb / PKGBUILD
blobdf6fe77bf70c4187b002ce8a244fa1a1c9dc3148
1 # Maintainer:  TDY <tdy@gmx.com>
2 # Contributor: Dany Martineau <dany.luc.martineau@gmail.com>
4 pkgname=arkanoidsb
5 pkgver=1.3.2.10
6 pkgrel=1
7 pkgdesc="Arkanoid: Space Ball"
8 url="http://www.wegroup.org/games/arkanoid-games/arkanoid-space-ball.html"
9 arch=('i686' 'x86_64')
10 license=('custom')
11 depends=('sdl_mixer' 'sdl_image' 'libogg')
12 [[ $CARCH = x86_64 ]] && depends=('lib32-sdl_mixer' 'lib32-sdl_image' 'lib32-libogg')
13 source=(http://www.wegroup.org/downloads/$pkgname-$pkgver.tar.bz2
14         $pkgname.desktop $pkgname.sh)
15 md5sums=('ee8180cabe4d71c678c3c32a931693d4'
16          '47699722b3cf6d4be627977d3c0646b2'
17          '55b3e4592eb6772ac585fc415ddd59f8')
19 build() {
20   cd "$srcdir/$pkgname"
21   install -dm755 "$pkgdir/usr/share/$pkgname/res"
22   install -m644 res/* "$pkgdir/usr/share/$pkgname/res"
23   install -m755 $pkgname "$pkgdir/usr/share/$pkgname"
24   install -Dm755 ../$pkgname.sh "$pkgdir/usr/bin/$pkgname"
25   install -Dm644 ../$pkgname.desktop \
26     "$pkgdir/usr/share/applications/$pkgname.desktop"
27   install -Dm644 $pkgname.png "$pkgdir/usr/share/pixmaps/$pkgname.png"
28   install -Dm644 README "$pkgdir/usr/share/licenses/$pkgname/LICENSE"