diff options
Diffstat (limited to 'manualPorts/brutalchess/Pkgfile')
-rw-r--r-- | manualPorts/brutalchess/Pkgfile | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/manualPorts/brutalchess/Pkgfile b/manualPorts/brutalchess/Pkgfile deleted file mode 100644 index b69adb8..0000000 --- a/manualPorts/brutalchess/Pkgfile +++ /dev/null @@ -1,29 +0,0 @@ -# Description: Battlechess clone -# URL: https://sourceforge.net/projects/brutalchess -# Maintainer: Erich Eckner, crux at eckner dot net -# Depends on: sdl_image - -name=brutalchess -version=0.5.2 -release=1 -source=("https://downloads.sourceforge.net/$name/$name-alpha-$version-src.tar.gz") - -build() { - - cd ${name}-${version}/src - - sed '/<time.h>/ a\#include <limits.h>' -i brutalplayer.cpp - sed 's/GLvoid/void/g' -i {md3view,objview}.cpp - sed '/<string>/ a\#include <unistd.h>' -i {xboardplayer,faileplayer}.cpp - - # Force pkg-config for the FreeType config program - sed 's/FT2_CONFIG=$ac_cv_path_FT2_CONFIG/FT2_CONFIG="pkg-config freetype2"/' -i ../configure - sed 's/7\.0\.1/2.0.5/' -i ../configure - - cd .. - - ./configure --prefix=/usr --libexecdir=/usr/lib/$name - make - make DESTDIR=$PKG install - -} |