diff options
author | Erik Hanson <erik@slackbuilds.org> | 2017-03-21 17:27:34 -0500 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2017-03-25 00:06:55 +0000 |
commit | 6f998956dececd974fecf4a39f23e6dbf8d00f69 (patch) | |
tree | 7b1100e6e9d987f2d465978f132d09ac5a1ee758 /games/einstein/einstein.SlackBuild | |
parent | a9e381f052e5578ba629af8269bfe55efd30efbe (diff) |
games/einstein: Updated for version 2.1.1.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>.
Diffstat (limited to 'games/einstein/einstein.SlackBuild')
-rw-r--r-- | games/einstein/einstein.SlackBuild | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/games/einstein/einstein.SlackBuild b/games/einstein/einstein.SlackBuild index a71f74da7d5dd..93e0a158564d8 100644 --- a/games/einstein/einstein.SlackBuild +++ b/games/einstein/einstein.SlackBuild @@ -2,7 +2,7 @@ # # Slackware build script for einstein # -# Copyright 2009 Erik W. Hanson, Minneapolis, MN, USA +# Copyright 2009-2017 Erik W. Hanson, Minneapolis, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=einstein -VERSION=2.0 +VERSION=2.1.1 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -53,9 +53,9 @@ set -eu rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION-src.tar.gz -cd $PRGNAM-$VERSION +rm -rf $PRGNAM-puzzle-$VERSION +tar xvf $CWD/$PRGNAM-puzzle-$VERSION-src.tar.gz || tar xvf v$VERSION.tar.gz +cd $PRGNAM-puzzle-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -63,11 +63,6 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# Some patches from debian. -for PATCH in $CWD/patches/*.diff ; do - patch -p0 < $PATCH -done - # Build make PREFIX="/usr" OPTIMIZE="$SLKCFLAGS" @@ -78,7 +73,7 @@ install -D $CWD/einstein.desktop $PKG/usr/share/applications/einstein.desktop install -D $CWD/einstein.png $PKG/usr/share/pixmaps/einstein.png mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a README $CWD/patches $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION |