summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
author Daniel Prosser2023-09-27 06:47:05 +0200
committer Willy Sudiarto Raharjo2023-09-27 06:47:05 +0200
commit13d129234e75415dfa4dbaaae3df5c3c9e4b0f82 (patch)
tree560a592ca8a770da239a19a54beb451c943cb8f1 /games
parentdc97d4ae96113687ca21caad6bfeb5cf7378f7a9 (diff)
downloadslackbuilds-13d129234e75415dfa4dbaaae3df5c3c9e4b0f82.tar.gz
games/LucasChess: Updated for version R2.10a.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/LucasChess/Configuration.py8
-rw-r--r--games/LucasChess/LucasChess.SlackBuild4
-rw-r--r--games/LucasChess/LucasChess.info6
-rw-r--r--games/LucasChess/README12
4 files changed, 19 insertions, 11 deletions
diff --git a/games/LucasChess/Configuration.py b/games/LucasChess/Configuration.py
index fdc090c838..1bae60afc4 100644
--- a/games/LucasChess/Configuration.py
+++ b/games/LucasChess/Configuration.py
@@ -196,6 +196,7 @@ class Configuration:
self.x_analyzer_depth_ab = 24
self.x_analyzer_mstime_ab = 0
self.x_analyzer_mstime_refresh_ab = 200
+ self.x_analyzer_activate_ab = False
self.x_maia_nodes_exponential = False
@@ -361,6 +362,13 @@ class Configuration:
def translator(self):
return self.x_translator if self.x_translator else "en"
+ def language(self):
+ tr_actual = self.translator()
+ dlang = Code.path_resource("Locale")
+ fini = os.path.join(dlang, tr_actual, "lang.ini")
+ dic = Util.ini_dic(fini)
+ return dic["NAME"]
+
def set_translator(self, xtranslator):
self.x_translator = xtranslator
diff --git a/games/LucasChess/LucasChess.SlackBuild b/games/LucasChess/LucasChess.SlackBuild
index decdb802b7..e2c9c5fc30 100644
--- a/games/LucasChess/LucasChess.SlackBuild
+++ b/games/LucasChess/LucasChess.SlackBuild
@@ -25,11 +25,11 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=LucasChess
-VERSION=${VERSION:-R2.10}
+VERSION=${VERSION:-R2.10a}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-SRCNAM=${SRCNAM:-LucasChessR2_10_LINUX.sh}
+SRCNAM=${SRCNAM:-LucasChessR2_10a_LINUX.sh}
ARCHIVELINE=680
if [ -z "$ARCH" ]; then
diff --git a/games/LucasChess/LucasChess.info b/games/LucasChess/LucasChess.info
index c961d04e35..9a795d8f35 100644
--- a/games/LucasChess/LucasChess.info
+++ b/games/LucasChess/LucasChess.info
@@ -1,10 +1,10 @@
PRGNAM="LucasChess"
-VERSION="R2.10"
+VERSION="R2.10a"
HOMEPAGE="https://lucaschess.pythonanywhere.com/"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://newcontinuum.dl.sourceforge.net/project/lucaschessr/Version_R2/LucasChessR2_10_LINUX.sh"
-MD5SUM_x86_64="05a0e94439ada7c041df719e8689ea18"
+DOWNLOAD_x86_64="https://newcontinuum.dl.sourceforge.net/project/lucaschessr/Version_R2/LucasChessR2_10a_LINUX.sh"
+MD5SUM_x86_64="4de487707ff6625017ea385ae0b8013f"
REQUIRES=""
MAINTAINER="Daniel Prosser"
EMAIL="dpross1100@msn.com"
diff --git a/games/LucasChess/README b/games/LucasChess/README
index ae9e05ced5..46c4cce530 100644
--- a/games/LucasChess/README
+++ b/games/LucasChess/README
@@ -1,9 +1,9 @@
-Lucas Chess is a flexible and powerful chess software created by Lucas Monge.
-It includes 61 pre-installed engines with a wide range of ELO levels,
-including the neural network engines of the Maia project that emulate human
-play based on a certain ELO. It also includes a wide range of training modules
-to improve your chess skills. It can perform game analysis, generate custom
-trainings based on your mistakes, read PGN files, and study openings.
+Lucas Chess is a flexible and powerful chess software created by Lucas Monge. It
+includes 61 pre-installed engines with a wide range of ELO levels, including the
+neural network engines of the Maia project that emulate human play based on a
+certain ELO. It also includes a wide range of training modules to improve your
+chess skills. It can perform game analysis, generate custom trainings based on
+your mistakes, read PGN files, and study openings.
This SlackBuild repackages the binary distribution provided by upstream. It
requires about 700 MB of space when installed.