diff options
Diffstat (limited to 'games/hexalate')
-rw-r--r-- | games/hexalate/README | 9 | ||||
-rw-r--r-- | games/hexalate/hexalate.SlackBuild | 16 | ||||
-rw-r--r-- | games/hexalate/hexalate.info | 2 |
3 files changed, 19 insertions, 8 deletions
diff --git a/games/hexalate/README b/games/hexalate/README index cb91e3ea20..de83e425c0 100644 --- a/games/hexalate/README +++ b/games/hexalate/README @@ -1,4 +1,5 @@ -Hexalate is a color matching game. The goal of the game is to rotate and -position the circles so that each touching line matches in color. You rotate -circles by right clicking, and you move circles by dragging them. The game -stores the positions and rotations of the circles across runs. +Hexalate is a color matching game. The goal of the game is to +rotate and position the circles so that each touching line matches +in color. You rotate circles by right clicking, and you move circles +by dragging them. The game stores the positions and rotations of the +circles across runs. diff --git a/games/hexalate/hexalate.SlackBuild b/games/hexalate/hexalate.SlackBuild index d7a55f2a83..956d0a11d8 100644 --- a/games/hexalate/hexalate.SlackBuild +++ b/games/hexalate/hexalate.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Copyright (c) 2013-2016 LEVAI Daniel # All rights reserved. @@ -27,10 +27,13 @@ # Build script for hexalate +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=hexalate VERSION=${VERSION:-1.1.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -40,7 +43,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -95,4 +105,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/games/hexalate/hexalate.info b/games/hexalate/hexalate.info index 5b6b92856d..992358a91a 100644 --- a/games/hexalate/hexalate.info +++ b/games/hexalate/hexalate.info @@ -5,6 +5,6 @@ DOWNLOAD="https://gottcode.org/hexalate/hexalate-1.1.4-src.tar.bz2" MD5SUM="0b8d536e87c634471543cfae97b7b1c0" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="qt5" +REQUIRES="" MAINTAINER="LEVAI Daniel" EMAIL="leva@ecentrum.hu" |