summaryrefslogtreecommitdiff
path: root/games/supertux2/supertux2.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/supertux2/supertux2.SlackBuild')
-rw-r--r--games/supertux2/supertux2.SlackBuild18
1 files changed, 7 insertions, 11 deletions
diff --git a/games/supertux2/supertux2.SlackBuild b/games/supertux2/supertux2.SlackBuild
index cbf01a645a..aaf25cef61 100644
--- a/games/supertux2/supertux2.SlackBuild
+++ b/games/supertux2/supertux2.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for supertux2
-# Copyright 2012 Petar Petrov, ppetrov@paju.oulu.fi
+# Copyright 2012-2013 Petar Petrov, petar.petrov@student.oulu.fi
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=supertux2
-VERSION=${VERSION:-0.3.3}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-0.3.4}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
SRCNAM=supertux
@@ -66,14 +66,10 @@ tar xvf $CWD/$SRCNAM-$VERSION.tar.bz2
cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-patch -p1 < $CWD/remove-curl-types_h-usage.patch
-patch -p1 < $CWD/supertux2-0.3.3-gcc46.patch
-patch -p1 < $CWD/supertux2-0.3.3-squirrel-gcc47.patch
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir -p build
cd build