diff options
author | Larry Hajali <larryhaja[at]gmail[dot]com> | 2018-11-06 13:09:21 -0800 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-11-10 07:48:12 +0700 |
commit | 9c4f4ad44c96cc72bf9664363276b69a2131a38a (patch) | |
tree | 248821e87bc2dadda8a19fe014b76253af5a0714 /games/meandmyshadow/meandmyshadow.SlackBuild | |
parent | 2cbb08557016067b8eb4fdd233dabbebb722c98e (diff) |
games/meandmyshadow: Updated for version 0.5a
Signed-off-by: Larry Hajali <larryhaja[at]gmail[dot]com>
Diffstat (limited to 'games/meandmyshadow/meandmyshadow.SlackBuild')
-rw-r--r-- | games/meandmyshadow/meandmyshadow.SlackBuild | 18 |
1 files changed, 9 insertions, 9 deletions
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 |