summaryrefslogtreecommitdiffstats
path: root/games/qxw
diff options
context:
space:
mode:
Diffstat (limited to 'games/qxw')
-rw-r--r--games/qxw/README19
-rw-r--r--games/qxw/qxw.SlackBuild41
-rw-r--r--games/qxw/qxw.desktop4
-rw-r--r--games/qxw/qxw.info8
4 files changed, 37 insertions, 35 deletions
diff --git a/games/qxw/README b/games/qxw/README
index 06fb8409fe..8ff3528602 100644
--- a/games/qxw/README
+++ b/games/qxw/README
@@ -3,9 +3,18 @@ hex or circular, on a Moebius strip or on a torus... and much more.
Use bars or blocks - or even a mixture of both.
Dozens of types of symmetry including simple rotational symmetry and
mirror symmetries as well as 'left-and-right' and 'up-and-down'.
-Interactive or fully automatic filling of whole or partial grid.
+Interactive or fully automatic filling of whole or partial grid - and
+lots, lots more.
-NOTE: If you wish to include the qxw-guide.[version].pdf in the package,
-download from http://www.quinapalus.com/qxw.html and add
-the file to your Qxw SlackBuild directory (where this file is).
-It will automatically be added to the SBo package.
+NOTE: If you wish to include the qxw-guide.[version].pdf in the
+package, download from http://www.quinapalus.com/qxw.html and add the
+file to your Qxw SlackBuild directory (where this file is). It will
+automatically be added to the SBo package.
+
+This Slackbuild is suitable for Slackware 14.0 and upwards.
+
+This updated version is a maintenance release.
+
+** Ignore the
+'/bin/sh: dpkg-buildflags: command not found'
+warnings, it will build fine on Slackware**
diff --git a/games/qxw/qxw.SlackBuild b/games/qxw/qxw.SlackBuild
index 2a86619053..7b459f5e81 100644
--- a/games/qxw/qxw.SlackBuild
+++ b/games/qxw/qxw.SlackBuild
@@ -1,30 +1,16 @@
-#!/bin/sh
-# Slackware build script for Qxw
+#!/bin/bash
#
-# Copyright 2013,2014, Nick Warne: nick@ukfsn.org: Pompey, England
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# Slackware build script for <Qxw>
+# Written by Nick Warne <warne.nick@gmail.com>
+# Licensed under the WTFPL <http://sam.zoy.org/wtfpl/COPYING>
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=qxw
-VERSION=${VERSION:-20140331}
+VERSION=${VERSION:-20200708}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
QXWGUIDE=${QXWGUIDE:-qxw-guide}
if [ -z "$ARCH" ]; then
@@ -36,7 +22,14 @@ if [ -z "$ARCH" ]; then
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}
@@ -81,4 +74,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
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/qxw/qxw.desktop b/games/qxw/qxw.desktop
index 5fa0d89efe..97647cca8b 100644
--- a/games/qxw/qxw.desktop
+++ b/games/qxw/qxw.desktop
@@ -3,9 +3,9 @@ Version=1.0
Type=Application
Name=Qxw
Icon=qxw
-GenericName=Crossword editor
+GenericName=Crossword creator
Comment=Construct crossword puzzles
Exec=/usr/games/qxw
Terminal=false
Categories=Game;LogicGame;
-Keywords=puzzle;grid;construction;wordgame;word;
+Keywords=crossword;puzzle;grid;construction;wordgame;word;
diff --git a/games/qxw/qxw.info b/games/qxw/qxw.info
index c867a24cbe..f57469ed27 100644
--- a/games/qxw/qxw.info
+++ b/games/qxw/qxw.info
@@ -1,10 +1,10 @@
PRGNAM="qxw"
-VERSION="20140331"
+VERSION="20200708"
HOMEPAGE="https://www.quinapalus.com/qxw.html"
-DOWNLOAD="https://www.quinapalus.com/qxw-20140331.tar.gz"
-MD5SUM="745bdc9eb7a05602539f685b0bb8527b"
+DOWNLOAD="https://www.quinapalus.com/qxw-20200708.tar.gz"
+MD5SUM="ea0d24690b78e96d750191be4d1345f1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Nick Warne"
-EMAIL="nick@ukfsn.org"
+EMAIL="warne.nick@gmail.com"