summaryrefslogtreecommitdiff
path: root/games/hexglass
diff options
context:
space:
mode:
Diffstat (limited to 'games/hexglass')
-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: