games/puzzles: Updated for version 20220128.c43a34f.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Erich Ritz 2022-02-09 10:27:06 -06:00 committed by Willy Sudiarto Raharjo
parent 1b8b6859ed
commit 9ff5b29e3f
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 27 additions and 7 deletions

View file

@ -1,2 +1,14 @@
This is a collection of puzzle games written by Simon Tatham. They run
natively on various platforms including Linux, Windows, and Mac OS X.
The author periodically makes updates and old versions are inaccessible
from the website. In that case you can either get the tested version
from
https://slackware.uk/sbosrcarch/by-name/puzzles/puzzles/
or get the latest version from
https://www.chiark.greenend.org.uk/~sgtatham/puzzles/puzzles.tar.gz
and execute the script with VERSION=latest

View file

@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=puzzles
VERSION=${VERSION:-20211212.b56c994}
VERSION=${VERSION:-20220128.c43a34f}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -38,6 +38,16 @@ if [ -z "$ARCH" ]; then
esac
fi
set -e
if [ "$VERSION" = "latest" ]; then
VERSION=$(basename $(tar -tf $CWD/puzzles.tar.gz | head -1))
VERSION=${VERSION/puzzles-/}
SRCVER=
else
SRCVER=-$VERSION
fi
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@ -61,13 +71,11 @@ else
LIBDIRSUFFIX=""
fi
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
tar xvf $CWD/$PRGNAM$SRCVER.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \

View file

@ -1,8 +1,8 @@
PRGNAM="puzzles"
VERSION="20211212.b56c994"
VERSION="20220128.c43a34f"
HOMEPAGE="https://www.chiark.greenend.org.uk/~sgtatham/puzzles/"
DOWNLOAD="https://www.chiark.greenend.org.uk/~sgtatham/puzzles/puzzles-20211212.b56c994.tar.gz"
MD5SUM="49b2e8a149149993fea5acd1b03b78ce"
DOWNLOAD="https://www.chiark.greenend.org.uk/~sgtatham/puzzles/puzzles-20220128.c43a34f.tar.gz"
MD5SUM="10ec988b3f1c6beec2e04eef6110652c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""