diff options
author | powtrix <powtrix@gmail.com> | 2012-09-10 20:38:46 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-09-10 16:35:40 -0500 |
commit | 21fd97ccb6933474998cc0618358b46887441c65 (patch) | |
tree | 1b584ad79741c4444ec9fbe4ca975b72ee8ae5de /games/speed-dreams/speed-dreams.SlackBuild | |
parent | 70751b99bf54f78db49a08b4be6cd3e8c356016b (diff) | |
download | slackbuilds-21fd97ccb6933474998cc0618358b46887441c65.tar.gz |
games/speed-dreams: Updated for version 2.0.0_r4687.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/speed-dreams/speed-dreams.SlackBuild')
-rw-r--r-- | games/speed-dreams/speed-dreams.SlackBuild | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/games/speed-dreams/speed-dreams.SlackBuild b/games/speed-dreams/speed-dreams.SlackBuild index 2fee78fa89..7ca91ee52d 100644 --- a/games/speed-dreams/speed-dreams.SlackBuild +++ b/games/speed-dreams/speed-dreams.SlackBuild @@ -4,7 +4,7 @@ # written by powtrix (@gmail.com) PRGNAM=speed-dreams -VERSION=2.0.0_rc1_r4420 +VERSION=2.0.0_r4687 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -49,11 +49,13 @@ tar xvf $CWD/$PRGNAM-src-base-$SRCVERSION.tar.xz tar xvf $CWD/$PRGNAM-src-hq-cars-and-tracks-$SRCVERSION.tar.xz tar xvf $CWD/$PRGNAM-src-more-hq-cars-and-tracks-$SRCVERSION.tar.xz tar xvf $CWD/$PRGNAM-src-wip-cars-and-tracks-$SRCVERSION.tar.xz +tar xvf $CWD/$PRGNAM-src-unmaintained-$SRCVERSION.tar.xz chown -R root:root . chmod -R u+w,go+r-w,a-s . -patch -p0 < $CWD/gcc47.patch +mkdir build +cd build cmake \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ @@ -62,9 +64,17 @@ cmake \ -DCMAKE_INSTALL_PREFIX:STRING=/usr \ -DCMAKE_PREFIX_PATH:STRING=/usr \ -DOPTION_OFFICIAL_ONLY:BOOL=ON \ - -DOPTION_DEBUG:BOOL=OFF . + -DOPTION_DEBUG:BOOL=OFF .. make make install DESTDIR=$PKG +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 + +mv $PKG/usr/{share/,}man + +find $PKG/usr/man -type f -exec gzip -9 {} \; mkdir -p $PKG/usr/share/pixmaps cp -a $CWD/$PRGNAM.xpm $PKG/usr/share/pixmaps @@ -80,7 +90,6 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc -cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |