aboutsummaryrefslogtreecommitdiff
path: root/games/pychess/pychess.SlackBuild
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2022-03-31 23:20:00 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-04-02 18:18:44 +0700
commit78474579e2ade61ac73659164132961dae987266 (patch)
treefb64a095b162d27efda8e9e9c69da0769186cdb5 /games/pychess/pychess.SlackBuild
parentdbd03d2d61e98d53cfd385bc91bf6c20cd307dc2 (diff)
downloadslackbuilds-78474579e2ade61ac73659164132961dae987266.tar.xz
games/pychess: Updated for version 1.0.3.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/pychess/pychess.SlackBuild')
-rw-r--r--games/pychess/pychess.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/games/pychess/pychess.SlackBuild b/games/pychess/pychess.SlackBuild
index 6c0616ba6e49..422e23743acd 100644
--- a/games/pychess/pychess.SlackBuild
+++ b/games/pychess/pychess.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for pychess
-# Copyright 2015-2016 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2015-2022 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=pychess
-VERSION=${VERSION:-0.12.4}
+SRCNAM=PyChess
+VERSION=${VERSION:-1.0.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -69,9 +70,9 @@ 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/$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \