aboutsummaryrefslogtreecommitdiff
path: root/games/zsdx
diff options
context:
space:
mode:
authorHunter Sezen <orbea@riseup.net>2019-04-18 10:03:44 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-04-18 10:03:44 +0700
commitde92d9cc719b71af4027f67d190d0eb53a5b5f1e (patch)
tree1a9b57f00088fae03f4b273722b2c7aa5722f47f /games/zsdx
parent39e5601ef8900f6908b8f456f7d66e8993032e31 (diff)
games/zsdx: Updated for version 1.12.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/zsdx')
-rw-r--r--games/zsdx/share.patch.gzbin973 -> 0 bytes
-rw-r--r--games/zsdx/slack-desc2
-rw-r--r--games/zsdx/zsdx.SlackBuild34
-rw-r--r--games/zsdx/zsdx.info10
4 files changed, 10 insertions, 36 deletions
diff --git a/games/zsdx/share.patch.gz b/games/zsdx/share.patch.gz
deleted file mode 100644
index 2ee038ff8d3d..000000000000
--- a/games/zsdx/share.patch.gz
+++ /dev/null
Binary files differ
diff --git a/games/zsdx/slack-desc b/games/zsdx/slack-desc
index 9cb356cfc82d..42862d709e6a 100644
--- a/games/zsdx/slack-desc
+++ b/games/zsdx/slack-desc
@@ -14,6 +14,6 @@ zsdx: the same graphics and game mechanisms. Zelda Mystery of Solarus DX is
zsdx: the first game made with the Solarus engine and in fact, Solarus was
zsdx: primarily designed for this game.
zsdx:
-zsdx: Homeage: http://www.solarus-games.org/
+zsdx: Homeage: https://www.solarus-games.org/
zsdx:
zsdx:
diff --git a/games/zsdx/zsdx.SlackBuild b/games/zsdx/zsdx.SlackBuild
index 1fdc2397cfd1..1792a758da46 100644
--- a/games/zsdx/zsdx.SlackBuild
+++ b/games/zsdx/zsdx.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for Zelda: Mystery of Solarus DX
-# Copyright 2015-2016, 2018 Hunter Sezen California, USA
+# Copyright 2015-2016, 2018-2019 Hunter Sezen California, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,37 +23,17 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=zsdx
-VERSION=${VERSION:-1.11.0}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.12.0}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
+ARCH=noarch
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
set -eu
rm -rf $PKG
@@ -69,15 +49,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 {} \;
-# Install icons and a desktop file.
-# https://gitlab.com/solarus-games/zsdx/merge_requests/122
-zcat $CWD/share.patch.gz | patch -p1
-
mkdir -p build
cd build
cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DSOLARUS_INSTALL_BINDIR:PATH=games \
-DSOLARUS_INSTALL_DATADIR:PATH=share/games/solarus \
diff --git a/games/zsdx/zsdx.info b/games/zsdx/zsdx.info
index 153f9047bc9f..dae41b7e297e 100644
--- a/games/zsdx/zsdx.info
+++ b/games/zsdx/zsdx.info
@@ -1,10 +1,10 @@
PRGNAM="zsdx"
-VERSION="1.11.0"
-HOMEPAGE="http://www.solarus-games.org/"
-DOWNLOAD="https://gitlab.com/solarus-games/zsdx/-/archive/zsdx-1.11.0/zsdx-zsdx-1.11.0.tar.gz"
-MD5SUM="6f145d0e6e39f8446a750c30bf0fd061"
+VERSION="1.12.0"
+HOMEPAGE="https://www.solarus-games.org/"
+DOWNLOAD="https://gitlab.com/solarus-games/zsdx/-/archive/zsdx-1.12.0/zsdx-zsdx-1.12.0.tar.gz"
+MD5SUM="e08f11386c56e2b24d1626dd2e688ef2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="solarus"
MAINTAINER="Hunter Sezen"
-EMAIL="orbea@fredslev.dk"
+EMAIL="orbea@riseup.net"