From 39e5601ef8900f6908b8f456f7d66e8993032e31 Mon Sep 17 00:00:00 2001 From: Hunter Sezen Date: Thu, 18 Apr 2019 10:01:59 +0700 Subject: games/zelda-roth-se: Updated for version 1.2.0. Signed-off-by: Willy Sudiarto Raharjo --- games/zelda-roth-se/cmake.patch.gz | Bin 611 -> 0 bytes games/zelda-roth-se/share.patch.gz | Bin 987 -> 0 bytes games/zelda-roth-se/slack-desc | 2 +- games/zelda-roth-se/zelda-roth-se.SlackBuild | 38 +++------------------------ games/zelda-roth-se/zelda-roth-se.info | 10 +++---- 5 files changed, 10 insertions(+), 40 deletions(-) delete mode 100644 games/zelda-roth-se/cmake.patch.gz delete mode 100644 games/zelda-roth-se/share.patch.gz (limited to 'games') diff --git a/games/zelda-roth-se/cmake.patch.gz b/games/zelda-roth-se/cmake.patch.gz deleted file mode 100644 index fd6f1164809cf..0000000000000 Binary files a/games/zelda-roth-se/cmake.patch.gz and /dev/null differ diff --git a/games/zelda-roth-se/share.patch.gz b/games/zelda-roth-se/share.patch.gz deleted file mode 100644 index d55a7a9b87021..0000000000000 Binary files a/games/zelda-roth-se/share.patch.gz and /dev/null differ diff --git a/games/zelda-roth-se/slack-desc b/games/zelda-roth-se/slack-desc index 7dc6af1621168..498fba67d963a 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 1d81869e40975..c6bdc328557be 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 ba8e597be821f..a69a4f1086e0c 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" -- cgit v1.2.3