summaryrefslogtreecommitdiffstats
path: root/games/astromenace/astromenace.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/astromenace/astromenace.SlackBuild')
-rw-r--r--games/astromenace/astromenace.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/games/astromenace/astromenace.SlackBuild b/games/astromenace/astromenace.SlackBuild
index a85d308613..75264f496e 100644
--- a/games/astromenace/astromenace.SlackBuild
+++ b/games/astromenace/astromenace.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for AstroMenace
-# Copyright 2014 Dimitris Zlatanidis Greece-Orestiada
+# Copyright 2014-2015 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
SRCNAM=astromenace-src
PRGNAM=$(echo $SRCNAM | cut -c1-11)
VERSION=${VERSION:-1.3.2}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -70,6 +70,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Fix freetype2 header path
+patch -p1 < $CWD/ft2_path.patch
+
mkdir -p build
cmake ./ # create Makefile
make # build game