1 # Maintained by Alexander Kazarin <boiler@co.ru>
2 # I think this alpha version is much stable in network game than current beta
7 pkgdesc="Blobby Volley (alpha)"
8 url="http://sourceforge.net/projects/blobby/"
11 depends=('sdl' 'zip' 'physfs')
14 source=(http://downloads.sourceforge.net/project/blobby/Blobby%20Volley%202%20%28Linux%29/Beta%200.9b/blobby2-linux-${pkgver}.tar.gz
18 md5sums=('75e7d46039d5e8fe1ed2d174244143a9'
19 'b9b7621bfcbc3d18f511cea0afd5ab7a'
20 'c1bc427b41a0a3facd771ac83c7fb412')
24 tar -xzf "blobby2-linux-${pkgver}.tar.gz"
26 cd ${srcdir}/blobby-alpha-8 || return 1
27 cmake -DCMAKE_INSTALL_PREFIX=/usr .
29 make DESTDIR=$pkgdir install || return 1
31 install -dm755 $pkgdir/usr/share/{applications,pixmaps}
32 install -m644 $srcdir/blobby2.desktop $pkgdir/usr/share/applications
33 install -m644 $srcdir/blobby2.png $pkgdir/usr/share/pixmaps
35 install -dm755 $pkgdir/usr/share/blobby/data
36 install -m644 $pkgdir/usr/share/blobby/server.xml $pkgdir/usr/share/blobby/data
38 echo -e "#!/bin/sh\ncd /usr/share/blobby && /usr/bin/blobby-server \$@" > $pkgdir/usr/bin/blobby-server.sh
39 chmod 755 $pkgdir/usr/bin/blobby-server.sh