summaryrefslogtreecommitdiff
path: root/games/term2048/term2048.SlackBuild
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2015-02-18 13:18:06 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-02-21 06:16:10 +0700
commit2507b2b6b8845c065ece7467e6a6b2827e4d7fa0 (patch)
tree5ef482e5321716de9362e7332bb183586109c613 /games/term2048/term2048.SlackBuild
parent2b0c1784f41828aa4abe0522b777e3c8605f91d6 (diff)
downloadslackbuilds-2507b2b6b8845c065ece7467e6a6b2827e4d7fa0.tar.gz
games/term2048: Updated for version 0.2.5.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'games/term2048/term2048.SlackBuild')
-rw-r--r--games/term2048/term2048.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/games/term2048/term2048.SlackBuild b/games/term2048/term2048.SlackBuild
index b68abc6ecb..2b49f95c86 100644
--- a/games/term2048/term2048.SlackBuild
+++ b/games/term2048/term2048.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=term2048
-VERSION=${VERSION:-0.2.4}
+VERSION=${VERSION:-0.2.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,7 +60,8 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz
+
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -75,7 +76,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 CHANGES.txt LICENSE PKG-INFO README.rst $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGES.txt LICENSE README.rst $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install