summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author B. Watson2017-03-01 21:59:57 +0100
committer Willy Sudiarto Raharjo2017-03-04 01:26:36 +0100
commitc19d3dd2b4441df919ad9d021234633e41520ad9 (patch)
tree1e01001d29d607bf7e1910a6c06092b93877d6d3
parent0823ca3ab8c8f0b10739259da025331c8b79df54 (diff)
downloadslackbuilds-c19d3dd2b4441df919ad9d021234633e41520ad9.tar.gz
games/freeblocks: Use long-format github URL.
Signed-off-by: B. Watson <yalhcru@gmail.com>
-rw-r--r--games/freeblocks/freeblocks.SlackBuild5
-rw-r--r--games/freeblocks/freeblocks.info2
2 files changed, 5 insertions, 2 deletions
diff --git a/games/freeblocks/freeblocks.SlackBuild b/games/freeblocks/freeblocks.SlackBuild
index 38f653e5a5..9efc9ea655 100644
--- a/games/freeblocks/freeblocks.SlackBuild
+++ b/games/freeblocks/freeblocks.SlackBuild
@@ -6,6 +6,9 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20170301 bkw:
+# - use long-form github URL
+
PRGNAM=freeblocks
VERSION=${VERSION:-0.5}
BUILD=${BUILD:-1}
@@ -44,7 +47,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
diff --git a/games/freeblocks/freeblocks.info b/games/freeblocks/freeblocks.info
index 4902a5fa6d..3d11cbbd0b 100644
--- a/games/freeblocks/freeblocks.info
+++ b/games/freeblocks/freeblocks.info
@@ -1,7 +1,7 @@
PRGNAM="freeblocks"
VERSION="0.5"
HOMEPAGE="https://github.com/dorkster/freeblocks"
-DOWNLOAD="https://github.com/dorkster/freeblocks/archive/v0.5.tar.gz"
+DOWNLOAD="https://github.com/dorkster/freeblocks/archive/v0.5/freeblocks-0.5.tar.gz"
MD5SUM="30fc32bfcbdac0b0f861b30b5cf1c0de"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""