summaryrefslogtreecommitdiff
path: root/games
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
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')
-rw-r--r--games/term2048/term2048.SlackBuild7
-rw-r--r--games/term2048/term2048.info6
2 files changed, 7 insertions, 6 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
diff --git a/games/term2048/term2048.info b/games/term2048/term2048.info
index c8ed564241..d4b97faddf 100644
--- a/games/term2048/term2048.info
+++ b/games/term2048/term2048.info
@@ -1,8 +1,8 @@
PRGNAM="term2048"
-VERSION="0.2.4"
+VERSION="0.2.5"
HOMEPAGE="https://github.com/bfontaine/term2048"
-DOWNLOAD="https://pypi.python.org/packages/source/t/term2048/term2048-0.2.4.tar.gz"
-MD5SUM="72e02652b6c19bbd2b800ee9a8a65f58"
+DOWNLOAD="https://github.com/bfontaine/term2048/archive/0.2.5.tar.gz"
+MD5SUM="e74772b2b92f7a8ce4b8afa9c0f8b9f1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="pysetuptools colorama"