# $Id: PKGBUILD 36378 2009-04-21 21:12:51Z eric $ # Contributor: Damir Perisa pkgname=xbl pkgver=1.1.5 pkgrel=1 pkgdesc="A 3D tetris/blockout game" arch=('i686' 'x86_64') url="http://www710.univ-lyon1.fr/ftp/xbl/xbl.html" license=('GPL') depends=('libxext') makedepends=('imake') source=(http://www710.univ-lyon1.fr/~exco/XBL/$pkgname-$pkgver.tar.gz) md5sums=('f618cb6fc20314683c20679d063e1b37') build() { cd $srcdir/$pkgname-$pkgver ./configure --prefix=/usr --mandir=/usr/share/man || return 1 make || return 1 install -d $pkgdir/usr/bin $pkgdir/usr/lib/{xbl,X11/app-defaults} install -d $pkgdir/usr/share/man/man1 yes "" | make BINDIR=$pkgdir/usr/bin \ GROUP_GID=50 LIBDIR=$pkgdir/usr/lib \ RESOURCEDIR=$pkgdir/usr/lib/X11/app-defaults \ SCOREDIR=$pkgdir/usr/lib/xbl \ MANPATH=$pkgdir/usr/share/man install || return 1 }