diff options
author | B. Watson <urchlay@slackware.uk> | 2023-01-11 15:53:45 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-01-14 08:50:30 +0700 |
commit | 836802a29faebc350c010124e1d00166e44af7ce (patch) | |
tree | 6cb7c8f8812db6e4b66f6aa85878e0074fdc1e5b /games/pysolfc | |
parent | a35fd5c1255b1fb16fe703415aec58ffb856c820 (diff) |
games/pysolfc: Updated for version 2.18.0.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/pysolfc')
-rw-r--r-- | games/pysolfc/pysolfc.SlackBuild | 19 | ||||
-rw-r--r-- | games/pysolfc/pysolfc.info | 10 |
2 files changed, 19 insertions, 10 deletions
diff --git a/games/pysolfc/pysolfc.SlackBuild b/games/pysolfc/pysolfc.SlackBuild index 684a4ce583896..457dfd6d11d12 100644 --- a/games/pysolfc/pysolfc.SlackBuild +++ b/games/pysolfc/pysolfc.SlackBuild @@ -8,6 +8,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20230111 bkw: update for v2.18.0 (and cardset-minimal 2.1.0). + # 20211228 bkw: update for v2.14.1. # - relicensed as WTFPL with permission from Matthew. # - we now use python3 and -current's python-pillow, no need for @@ -36,12 +38,12 @@ SRCNAM=PySolFC cd $(dirname $0) ; CWD=$(pwd) PRGNAM=pysolfc -VERSION=${VERSION:-2.14.1} +VERSION=${VERSION:-2.18.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -CARDSETVER=${CARDSETVER:-2.0} +CARDSETVER=${CARDSETVER:-2.1.0} CARDSETS=$SRCNAM-Cardsets--Minimal-$CARDSETVER if [ -z "$ARCH" ]; then @@ -63,6 +65,13 @@ OUTPUT=${OUTPUT:-/tmp} set -e +# 20230111 bkw: upstream starting using "pysol-x.x.x" for the tag. +# handle either name for the tarball, because I probably want to keep +# running the old version. +TARBALL=$CWD/$SRCNAM-$PRGNAM-$VERSION.tar.gz +[ -e $TARBALL ] || TARBALL=$CWD/$SRCNAM-$VERSION.tar.gz +TARDIR=$( basename $TARBALL .tar.gz ) + fixperms() { chown -R root:root $1 find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ @@ -72,9 +81,9 @@ fixperms() { rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $SRCNAM-$VERSION -tar xvf $CWD/$SRCNAM-$VERSION.tar.?z -cd $SRCNAM-$VERSION +rm -rf $TARDIR +tar xvf $TARBALL +cd $TARDIR fixperms . # do not use 'make install', it has no way to pass --root to setup.py. diff --git a/games/pysolfc/pysolfc.info b/games/pysolfc/pysolfc.info index 2185279748e9b..3b20c080329df 100644 --- a/games/pysolfc/pysolfc.info +++ b/games/pysolfc/pysolfc.info @@ -1,10 +1,10 @@ PRGNAM="pysolfc" -VERSION="2.14.1" +VERSION="2.18.0" HOMEPAGE="https://pysolfc.sourceforge.io" -DOWNLOAD="https://github.com/shlomif/PySolFC/archive/2.14.1/PySolFC-2.14.1.tar.gz \ - https://downloads.sourceforge.net/pysolfc/PySolFC-Cardsets--Minimal-2.0.tar.xz" -MD5SUM="c833407fc80c6f175d16616ba1533610 \ - 85c0edeeb0e319d54f9ebcd4165a2077" +DOWNLOAD="https://github.com/shlomif/PySolFC/archive/pysolfc-2.18.0/PySolFC-pysolfc-2.18.0.tar.gz \ + https://downloads.sourceforge.net/pysolfc/PySolFC-Cardsets--Minimal-2.1.0.tar.xz" +MD5SUM="12fd055dad40f4159c02872fa386a34b \ + 899b66fa130b04bec59faffd777f927a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="configobj python3-attrs" |