summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2017-04-15 21:43:02 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-22 08:11:02 +0700
commitde9d4e084094474913b5c7d431311d9ea2456f9f (patch)
tree0853bef61bf550db6b1f292733f71ce665d298c7 /games
parent0c58f948b8e246f9e5897b005d60cb35c1ab6569 (diff)
downloadslackbuilds-de9d4e084094474913b5c7d431311d9ea2456f9f.tar.gz
games/hexglass: Update script, HOMEPAGE & DOWNLOAD url.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'games')
-rw-r--r--games/hexglass/hexglass.SlackBuild10
-rw-r--r--games/hexglass/hexglass.info6
-rw-r--r--games/hexglass/slack-desc2
3 files changed, 9 insertions, 9 deletions
diff --git a/games/hexglass/hexglass.SlackBuild b/games/hexglass/hexglass.SlackBuild
index 7413407e21..82f7fe321a 100644
--- a/games/hexglass/hexglass.SlackBuild
+++ b/games/hexglass/hexglass.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for hexglass
-# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2014-2017 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
PRGNAM=hexglass
VERSION=${VERSION:-1.2.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -59,9 +59,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
diff --git a/games/hexglass/hexglass.info b/games/hexglass/hexglass.info
index 5787204e19..bfba313137 100644
--- a/games/hexglass/hexglass.info
+++ b/games/hexglass/hexglass.info
@@ -1,8 +1,8 @@
PRGNAM="hexglass"
VERSION="1.2.1"
-HOMEPAGE="https://code.google.com/p/hexglass"
-DOWNLOAD="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/hexglass/hexglass-1.2.1.tar.gz"
-MD5SUM="408148e6b05065d12edd7066b929465b"
+HOMEPAGE="https://github.com/lizaifang/hexglass/"
+DOWNLOAD="https://github.com/lizaifang/hexglass/archive/hexglass-1.2.1.tar.gz"
+MD5SUM="92683988cd7f2aff7478c1e73c53433b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/games/hexglass/slack-desc b/games/hexglass/slack-desc
index aced54c166..954653ebe1 100644
--- a/games/hexglass/slack-desc
+++ b/games/hexglass/slack-desc
@@ -12,7 +12,7 @@ hexglass: The HexGlass is a Tetris-like puzzle game. Ten different types of
hexglass: blocks continuously fall from above and you must arrange them to
hexglass: make horizontal rows of hexagonal bricks.
hexglass:
-hexglass: Homepage: https://code.google.com/p/hexglass
+hexglass: Homepage: https://github.com/lizaifang/hexglass/
hexglass:
hexglass:
hexglass: