diff options
Diffstat (limited to 'games/meandmyshadow')
-rw-r--r-- | games/meandmyshadow/README | 2 | ||||
-rw-r--r-- | games/meandmyshadow/meandmyshadow.SlackBuild | 18 | ||||
-rw-r--r-- | games/meandmyshadow/meandmyshadow.info | 8 |
3 files changed, 15 insertions, 13 deletions
diff --git a/games/meandmyshadow/README b/games/meandmyshadow/README index 4202bcd14d0ab..0de9d16730811 100644 --- a/games/meandmyshadow/README +++ b/games/meandmyshadow/README @@ -1 +1,3 @@ A puzzle/plateform game with a player and its shadow. + +Optional: lua53 diff --git a/games/meandmyshadow/meandmyshadow.SlackBuild b/games/meandmyshadow/meandmyshadow.SlackBuild index 31e8be050ee79..024f5951f1388 100644 --- a/games/meandmyshadow/meandmyshadow.SlackBuild +++ b/games/meandmyshadow/meandmyshadow.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for meandmyshadow -# Copyright 2011-2014 Larry Hajali <larryhaja[at]gmail[dot]com> +# Copyright 2011-2018 Larry Hajali <larryhaja[at]gmail[dot]com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,13 +23,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=meandmyshadow -VERSION=${VERSION:-0.4.1} +VERSION=${VERSION:-0.5a} 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 @@ -40,8 +40,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" @@ -70,7 +70,7 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; # Fix DOS file. -sed -i 's/\r//' docs/ThemeDescription.txt +sed -i 's/\r//' docs/ThemeDescription.md mkdir -p build cd build @@ -78,18 +78,18 @@ cd build -DCMAKE_INSTALL_PREFIX:PATH=/usr \ -DBINDIR=/usr/games \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -lX11" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_BUILD_TYPE=Release .. make VERBOSE=1 make install DESTDIR=$PKG -cd .. +cd - find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS ChangeLog COPYING README docs/* $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS ChangeLog COPYING README.md docs/* $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/games/meandmyshadow/meandmyshadow.info b/games/meandmyshadow/meandmyshadow.info index 6e4221b1b294e..5ccc615e41402 100644 --- a/games/meandmyshadow/meandmyshadow.info +++ b/games/meandmyshadow/meandmyshadow.info @@ -1,10 +1,10 @@ PRGNAM="meandmyshadow" -VERSION="0.4.1" +VERSION="0.5a" HOMEPAGE="http://meandmyshadow.sourceforge.net/" -DOWNLOAD="http://downloads.sourceforge.net/meandmyshadow/meandmyshadow-0.4.1-src.tar.gz" -MD5SUM="724cb4a1822572dbe04131b5db658d19" +DOWNLOAD="https://downloads.sourceforge.net/meandmyshadow/meandmyshadow-0.5a-src.tar.gz" +MD5SUM="314cf2df805e2d094c00eca601a05642" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="SDL_gfx" +REQUIRES="lua52 SDL2_image SDL2_mixer SDL2_ttf" MAINTAINER="Larry Hajali" EMAIL="larryhaja[at]gmail[dot]com" |