summaryrefslogtreecommitdiffstats
path: root/games/supertux
diff options
context:
space:
mode:
Diffstat (limited to 'games/supertux')
-rw-r--r--games/supertux/README2
-rw-r--r--games/supertux/supertux.SlackBuild13
-rw-r--r--games/supertux/supertux.info6
3 files changed, 12 insertions, 9 deletions
diff --git a/games/supertux/README b/games/supertux/README
index ca35bccc4c..da66a7726f 100644
--- a/games/supertux/README
+++ b/games/supertux/README
@@ -3,3 +3,5 @@ similar to the original SuperMario games.
If you get slow performance, disable the use of OpenGL in the
"Options" menu after SuperTux is started.
+
+libraqm is an optional dependency.
diff --git a/games/supertux/supertux.SlackBuild b/games/supertux/supertux.SlackBuild
index 72e00c5c77..97de41b229 100644
--- a/games/supertux/supertux.SlackBuild
+++ b/games/supertux/supertux.SlackBuild
@@ -23,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=supertux
-VERSION=${VERSION:-0.4.0}
+VERSION=${VERSION:-20181120_776a61d}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -60,7 +60,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -78,7 +78,8 @@ cd build
-DINSTALL_SUBDIR_BIN=bin \
-DINSTALL_SUBDIR_SHARE=share/$PRGNAM \
-DINSTALL_SUBDIR_DOC=doc/$PRGNAM-$VERSION \
- -DLIB_SUBDIR=lib${LIBDIRSUFFIX} \
+ -DLIB_SUFFIX=lib${LIBDIRSUFFIX} \
+ -DENABLE_BOOST_STATIC_LIBS=OFF \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
diff --git a/games/supertux/supertux.info b/games/supertux/supertux.info
index 299d644b04..33c52d93c7 100644
--- a/games/supertux/supertux.info
+++ b/games/supertux/supertux.info
@@ -1,8 +1,8 @@
PRGNAM="supertux"
-VERSION="0.4.0"
+VERSION="20181120_776a61d"
HOMEPAGE="https://github.com/SuperTux/supertux"
-DOWNLOAD="https://github.com/SuperTux/supertux/releases/download/v0.4.0/supertux-0.4.0.tar.bz2"
-MD5SUM="8acc3aa1077f0da95c99fdd5f4925088"
+DOWNLOAD="http://ponce.cc/slackware/sources/repo/supertux-20181120_776a61d.tar.xz"
+MD5SUM="f1621a1caf5513084a80261f4ebe66fd"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="SDL2_image OpenAL physfs"