From eb7ac7304e74f03ce410a121817e2ef4d6cb6089 Mon Sep 17 00:00:00 2001 From: Carlos Corbacho Date: Sun, 7 Jan 2018 17:37:13 +0700 Subject: games/scummvm: Updated for version 2.0.0. Signed-off-by: Willy Sudiarto Raharjo --- games/scummvm/scummvm.SlackBuild | 25 +++++++++++++------------ games/scummvm/scummvm.info | 8 ++++---- 2 files changed, 17 insertions(+), 16 deletions(-) (limited to 'games') diff --git a/games/scummvm/scummvm.SlackBuild b/games/scummvm/scummvm.SlackBuild index 3063d32469..48b1b0df23 100644 --- a/games/scummvm/scummvm.SlackBuild +++ b/games/scummvm/scummvm.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for scummvm # Copyright 2006 Halim Issa -# Copyright 2008, 2010, 2012-2014 Carlos Corbacho +# Copyright 2008, 2010, 2012-2018 Carlos Corbacho # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,13 +24,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=scummvm -VERSION=${VERSION:-1.7.0} +VERSION=${VERSION:-2.0.0} 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 @@ -41,8 +41,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" @@ -57,12 +57,14 @@ fi DOCS="AUTHORS COPYING* COPYRIGHT NEWS README TODO" +set -e + rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT -cd $TMP || exit 1 +cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1 -cd $PRGNAM-$VERSION || exit 1 +tar xvf $CWD/$PRGNAM-$VERSION.tar.xz +cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -77,11 +79,10 @@ CXXFLAGS="$SLKCFLAGS" \ --bindir=/usr/games \ --libdir=/usr/lib$LIBDIRSUFFIX \ --mandir=/usr/man \ - --disable-debug \ - || exit 1 + --disable-debug -make || exit 1 -make install DESTDIR=$PKG || exit 1 +make +make install DESTDIR=$PKG # The .desktop file for the menu is not being installed install -D -m 0644 dists/scummvm.desktop \ diff --git a/games/scummvm/scummvm.info b/games/scummvm/scummvm.info index d478bb9973..cc8abf6d73 100644 --- a/games/scummvm/scummvm.info +++ b/games/scummvm/scummvm.info @@ -1,8 +1,8 @@ PRGNAM="scummvm" -VERSION="1.7.0" -HOMEPAGE="http://www.scummvm.org/" -DOWNLOAD="http://downloads.sourceforge.net/scummvm/scummvm-1.7.0.tar.bz2" -MD5SUM="be91bf3fa2f1b44a82c92cfe8c5cc1c8" +VERSION="2.0.0" +HOMEPAGE="https://www.scummvm.org/" +DOWNLOAD="https://www.scummvm.org/frs/scummvm/2.0.0/scummvm-2.0.0.tar.xz" +MD5SUM="f87538f7c3fc48c0bf5034b699a00042" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -- cgit v1.2.3