aboutsummaryrefslogtreecommitdiff
path: root/games/zsxd
diff options
context:
space:
mode:
authorHunter Sezen <orbea@riseup.net>2019-04-18 10:04:33 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-04-18 10:04:33 +0700
commit6e2ef4a461205dcd6b847cea350e9d4ff05a6ab3 (patch)
tree39ffb21e4756ed1f51aaba779b11286b3860f4af /games/zsxd
parentde92d9cc719b71af4027f67d190d0eb53a5b5f1e (diff)
games/zsxd: Updated for version 1.12.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/zsxd')
-rw-r--r--games/zsxd/share.patch.gzbin974 -> 0 bytes
-rw-r--r--games/zsxd/slack-desc2
-rw-r--r--games/zsxd/zsxd.SlackBuild34
-rw-r--r--games/zsxd/zsxd.info10
4 files changed, 10 insertions, 36 deletions
diff --git a/games/zsxd/share.patch.gz b/games/zsxd/share.patch.gz
deleted file mode 100644
index 2fe78ce5cd140..0000000000000
--- a/games/zsxd/share.patch.gz
+++ /dev/null
Binary files differ
diff --git a/games/zsxd/slack-desc b/games/zsxd/slack-desc
index 57e4872812b17..b56303cad11af 100644
--- a/games/zsxd/slack-desc
+++ b/games/zsxd/slack-desc
@@ -12,7 +12,7 @@ zsxd: Zelda Mystery of Solarus XD is a parodic game that we released on
zsxd: April 1st, 2011. Though it's a big April 1st joke, it's a real, full
zsxd: game with two huge dungeons and 5-10 hours of playing.
zsxd:
-zsxd: Homeage: http://www.solarus-games.org/
+zsxd: Homeage: https://www.solarus-games.org/
zsxd:
zsxd:
zsxd:
diff --git a/games/zsxd/zsxd.SlackBuild b/games/zsxd/zsxd.SlackBuild
index 0dd2277e5e766..6596a6ac4061c 100644
--- a/games/zsxd/zsxd.SlackBuild
+++ b/games/zsxd/zsxd.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for Zelda: Mystery of Solarus XD
-# Copyright 2016, 2018 Hunter Sezen California, USA
+# Copyright 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=zsxd
-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/zsxd/merge_requests/45
-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/zsxd/zsxd.info b/games/zsxd/zsxd.info
index bbad7afd9139e..ad208c0bd6fef 100644
--- a/games/zsxd/zsxd.info
+++ b/games/zsxd/zsxd.info
@@ -1,10 +1,10 @@
PRGNAM="zsxd"
-VERSION="1.11.0"
-HOMEPAGE="http://www.solarus-games.org/"
-DOWNLOAD="https://gitlab.com/solarus-games/zsxd/-/archive/zsxd-1.11.0/zsxd-zsxd-1.11.0.tar.gz"
-MD5SUM="b48e537872cd03637fb22f4f044eb8ce"
+VERSION="1.12.0"
+HOMEPAGE="https://www.solarus-games.org/"
+DOWNLOAD="https://gitlab.com/solarus-games/zsxd/-/archive/zsxd-1.12.0/zsxd-zsxd-1.12.0.tar.gz"
+MD5SUM="559374ee362c3d10687d8decba6c9c68"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="solarus"
MAINTAINER="Hunter Sezen"
-EMAIL="orbea@fredslev.dk"
+EMAIL="orbea@riseup.net"