updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / net-bubble / PKGBUILD
blob046db372a0c83ffeab9984f07fa372376d143c49
1 # Contributor: Piotr Beling <qwak@stud.ics.p.lodz.pl>
3 pkgname=net-bubble
4 pkgver=0.9.1
5 pkgrel=2
6 pkgdesc="Frozen-bubble clone. The main aim of the game is to link together more than two balls of the same color to remove them from the game."
7 arch=("i686" "x86_64")
8 license=(custom)
9 url="http://netbubble.zippygraphics.com/"
10 depends=(sdl sdl_image sdl_net)
11 source=(http://netbubble.zippygraphics.com/files/net-bubble-${pkgver}.tar.gz
12         net-bubble.desktop
13         net-bubble)
14         
15 md5sums=('5102f0f7e6139749cb8c8dffa51eee62'
16          '06872062ac5289bc49428f89442ffd1d'
17          '3012dec3204bac1afab9b21d8ecb65f2')
18                                          
19 build() {
20     cd $startdir/src/$pkgname-$pkgver
21     make
22     local dstdir=$startdir/pkg/usr/share/games/$pkgname
23     mkdir -p $dstdir
24     cp -R . $dstdir
25     cd $dstdir
26     rm *.o *.h *.c Makefile
27     
28     install -D -m644 $startdir/src/net-bubble.desktop \
29          $startdir/pkg/usr/share/applications/net-bubble.desktop
30          
31     install -D -m755 $startdir/src/net-bubble \
32          $startdir/pkg/usr/bin/net-bubble
33          
34     #./configure --prefix=/usr
35     #make || return 1
36     #make prefix=$startdir/pkg/usr install