summaryrefslogtreecommitdiffstats
path: root/games/pychess/pychess.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/pychess/pychess.SlackBuild')
-rw-r--r--games/pychess/pychess.SlackBuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/games/pychess/pychess.SlackBuild b/games/pychess/pychess.SlackBuild
index 422e23743a..4aaeb5bf1a 100644
--- a/games/pychess/pychess.SlackBuild
+++ b/games/pychess/pychess.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for pychess
-# Copyright 2015-2022 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2015-2023 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,8 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=pychess
-SRCNAM=PyChess
-VERSION=${VERSION:-1.0.3}
+VERSION=${VERSION:-1.0.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -70,9 +69,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
-cd $SRCNAM-$VERSION
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \