summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"