updated on Fri Jan 13 20:02:10 UTC 2012
[aur-mirror.git] / blockout2 / PKGBUILD
blobeb6e60989e47718e20d418d613f1e4b15000760c
1 # Contributor: Piotr Beling <qwak@stud.ics.p.lodz.pl>
3 arch=(i686 x86_64)
4 pkgname=blockout2
5 pkgver=2.4
6 pkgrel=2
7 pkgdesc="3d tetris, free adaptation of the original BlockOut DOS game edited by California Dreams in 1989"
8 url="http://www.blockout.net/blockout2/"
9 source=("http://downloads.sourceforge.net/sourceforge/blockout/bl${pkgver/./}-bin-linux-i586.tar.gz"
10         'blockout2.desktop' 'blockout2-i686' 'blockout2-x86_64')
11 license=('GPL')
12 depends=('libgl')
13 [ "$CARCH" = "x86_64" ] && depends=('lib32-libgl')
15 build() {
16     local dstdir=$startdir/pkg/usr/share/games/$pkgname
17     install -d $dstdir
18     cp -R $startdir/src/bl2/* $dstdir
19     rm $dstdir/blockout_oldlibc
20     
21     install -D -m644 blockout2.desktop \
22             $startdir/pkg/usr/share/applications/blockout2.desktop
23                         
24     #install -D -m644 blockout.png \
25     #        $startdir/pkg/usr/share/pixmaps/blockout.png
26                                                  
27     install -D -m755 blockout2-${CARCH} \
28             $startdir/pkg/usr/bin/blockout2
29                                                  
32 md5sums=('6fab7fa7dde4762a7edca43cf5962b47'
33          '7ad9df1383b76177303cafd86cad6051'
34          '65a92bb9914c527056b82be9cdd84a51'
35          'a6cff273f0286f6f02ac3ad41f415ac7')