summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2012-12-10 21:44:40 +0100
committerdsomero <xgizzmo@slackbuilds.org>2012-12-11 16:23:06 -0500
commit513625d6886d4d7642ed66766c8234e72f0adf3c (patch)
treeb17a8c5017e61878674c5098848bc3a1b4b956e8 /games
parentad15b5c121854035eb1582c083dccd5971ec9911 (diff)
downloadslackbuilds-513625d6886d4d7642ed66766c8234e72f0adf3c.tar.gz
games/meandmyshadow: Updated for version 0.4.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/meandmyshadow/meandmyshadow.SlackBuild17
-rw-r--r--games/meandmyshadow/meandmyshadow.info6
2 files changed, 9 insertions, 14 deletions
diff --git a/games/meandmyshadow/meandmyshadow.SlackBuild b/games/meandmyshadow/meandmyshadow.SlackBuild
index 63bb8b3bcf..bde742c7a4 100644
--- a/games/meandmyshadow/meandmyshadow.SlackBuild
+++ b/games/meandmyshadow/meandmyshadow.SlackBuild
@@ -5,8 +5,8 @@
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
PRGNAM=meandmyshadow
-VERSION=${VERSION:-0.3}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-0.4}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -51,19 +51,14 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# Fix .desktop file.
-sed -i -e '/^Version/d' -e 's|;Game;|;|' meandmyshadow.desktop
-
-# SLKCFLAGS are respected.
-sed -i "s|-Wall -g|& $SLKCFLAGS|" CMakeLists.txt
-
-# From upstream. Fix for building with gcc 4.7.x.
-patch -p1 < $CWD/gcc-4.7.patch
+# Fix DOS file.
+sed -i 's/\r//' docs/ThemeDescription.txt
mkdir -p build
cd build
cmake -G "Unix Makefiles" \
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
+ -DBINDIR=/usr/games \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_BUILD_TYPE=Release ..
@@ -76,7 +71,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a License ThemeDescription.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS ChangeLog COPYING README docs/* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
sed -i 's/\r//' $PKG/usr/doc/$PRGNAM-$VERSION/*
diff --git a/games/meandmyshadow/meandmyshadow.info b/games/meandmyshadow/meandmyshadow.info
index 694f8a2ba3..aa17fedf44 100644
--- a/games/meandmyshadow/meandmyshadow.info
+++ b/games/meandmyshadow/meandmyshadow.info
@@ -1,8 +1,8 @@
PRGNAM="meandmyshadow"
-VERSION="0.3"
+VERSION="0.4"
HOMEPAGE="http://meandmyshadow.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/meandmyshadow/meandmyshadow-0.3-src.tar.gz"
-MD5SUM="a943cb32c901f65843be517ff781943b"
+DOWNLOAD="http://downloads.sourceforge.net/meandmyshadow/meandmyshadow-0.4-src.tar.gz"
+MD5SUM="8a40de429d0ac7820d367825ba38d08a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="SDL_gfx"