From 2ae21c2ba8db1bb85b7f63587d0e1eeb0a8cb28e Mon Sep 17 00:00:00 2001 From: Aurélien DESBRIÈRES Date: Mon, 23 Jun 2014 15:39:50 +0200 Subject: brutalchess Chess game inspired by 'Battle Chess'. Features full 3D --- pcr/brutalchess/PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 pcr/brutalchess/PKGBUILD (limited to 'pcr/brutalchess/PKGBUILD') diff --git a/pcr/brutalchess/PKGBUILD b/pcr/brutalchess/PKGBUILD new file mode 100644 index 000000000..eb6d344b9 --- /dev/null +++ b/pcr/brutalchess/PKGBUILD @@ -0,0 +1,40 @@ +# Contributor (Arch) : boenki +# Contributor (Arch) : Arkham +# Contributor (Arch) : Rick Rein +# Contributor (Arch) : Stefano Esposito +# Maintainer (Parabola) : Aurélien DESBRIÈRES + +pkgname=brutalchess +pkgver=0.5.2 +pkgrel=5 +pkgdesc="Chess game inspired by 'Battle Chess'. Features full 3D graphics." +url="http://sourceforge.net/projects/$pkgname" +license=('GPL2') +arch=('i686' 'x86_64') +depends=('sdl_image' 'freetype2' 'glu') +source=("http://downloads.sourceforge.net/$pkgname/$pkgname-alpha-$pkgver-src.tar.gz") +md5sums=('370476b63091b8d82a9ea57c604dcbab') + +prepare() { + cd $pkgname-$pkgver/src + sed '// a\#include ' -i brutalplayer.cpp + sed 's/GLvoid/void/g' -i {md3view,objview}.cpp + sed '// a\#include ' -i {xboardplayer,faileplayer}.cpp + sed 's~#include\