diff options
author | Hunter Sezen <orbea@riseup.net> | 2019-04-18 10:01:59 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-04-18 10:01:59 +0700 |
commit | 39e5601ef8900f6908b8f456f7d66e8993032e31 (patch) | |
tree | 9f736ae263ea1d6854b532ff34b86d38e1012bae /games/zelda-roth-se | |
parent | c2df2b392c21c07ebdf4d9e032ba064b3c90120c (diff) | |
download | slackbuilds-39e5601ef8900f6908b8f456f7d66e8993032e31.tar.gz |
games/zelda-roth-se: Updated for version 1.2.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/zelda-roth-se')
-rw-r--r-- | games/zelda-roth-se/cmake.patch.gz | bin | 611 -> 0 bytes | |||
-rw-r--r-- | games/zelda-roth-se/share.patch.gz | bin | 987 -> 0 bytes | |||
-rw-r--r-- | games/zelda-roth-se/slack-desc | 2 | ||||
-rw-r--r-- | games/zelda-roth-se/zelda-roth-se.SlackBuild | 38 | ||||
-rw-r--r-- | games/zelda-roth-se/zelda-roth-se.info | 10 |
5 files changed, 10 insertions, 40 deletions
diff --git a/games/zelda-roth-se/cmake.patch.gz b/games/zelda-roth-se/cmake.patch.gz Binary files differdeleted file mode 100644 index fd6f116480..0000000000 --- a/games/zelda-roth-se/cmake.patch.gz +++ /dev/null diff --git a/games/zelda-roth-se/share.patch.gz b/games/zelda-roth-se/share.patch.gz Binary files differdeleted file mode 100644 index d55a7a9b87..0000000000 --- a/games/zelda-roth-se/share.patch.gz +++ /dev/null diff --git a/games/zelda-roth-se/slack-desc b/games/zelda-roth-se/slack-desc index 7dc6af1621..498fba67d9 100644 --- a/games/zelda-roth-se/slack-desc +++ b/games/zelda-roth-se/slack-desc @@ -13,7 +13,7 @@ zelda-roth-se: original Zelda Return of the Hylian, a short and pleasant fangame zelda-roth-se: from Vincent Jouillat. The original game was developed in C++ and was zelda-roth-se: released in 2006. zelda-roth-se: -zelda-roth-se: Homepage: http://www.solarus-games.org/ +zelda-roth-se: Homepage: https://www.solarus-games.org/ zelda-roth-se: zelda-roth-se: zelda-roth-se: diff --git a/games/zelda-roth-se/zelda-roth-se.SlackBuild b/games/zelda-roth-se/zelda-roth-se.SlackBuild index 1d81869e40..c6bdc32855 100644 --- a/games/zelda-roth-se/zelda-roth-se.SlackBuild +++ b/games/zelda-roth-se/zelda-roth-se.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for Zelda Return of the Hylian Solarus Edition -# 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=zelda-roth-se -VERSION=${VERSION:-1.1.0} -BUILD=${BUILD:-3} +VERSION=${VERSION:-1.2.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,19 +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 {} \; -# Update cmake file to previous fixes from zsdx -# https://gitlab.com/solarus-games/zelda-roth-se/commit/e9b5bd907f5b50b17d65ebe2fa50760d322c537c -zcat $CWD/cmake.patch.gz | patch -p1 - -# Install icons and a desktop file. -# https://gitlab.com/solarus-games/zelda-roth-se/merge_requests/102 -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/zelda-roth-se/zelda-roth-se.info b/games/zelda-roth-se/zelda-roth-se.info index ba8e597be8..a69a4f1086 100644 --- a/games/zelda-roth-se/zelda-roth-se.info +++ b/games/zelda-roth-se/zelda-roth-se.info @@ -1,10 +1,10 @@ PRGNAM="zelda-roth-se" -VERSION="1.1.0" -HOMEPAGE="http://www.solarus-games.org/" -DOWNLOAD="https://gitlab.com/solarus-games/zelda-roth-se/-/archive/v1.1.0/zelda-roth-se-v1.1.0.tar.gz" -MD5SUM="640d4898e0d75eeb70435ff9921c7572" +VERSION="1.2.0" +HOMEPAGE="https://www.solarus-games.org/" +DOWNLOAD="https://gitlab.com/solarus-games/zelda-roth-se/-/archive/v1.2.0/zelda-roth-se-v1.2.0.tar.gz" +MD5SUM="d4cda6305298702489d8da4845f07821" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="solarus" MAINTAINER="Hunter Sezen" -EMAIL="orbea@fredslev.dk" +EMAIL="orbea@riseup.net" |