aboutsummaryrefslogtreecommitdiff
path: root/games/pychess
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2021-04-03 07:46:28 +0200
committerRobby Workman <rworkman@slackbuilds.org>2021-04-17 23:54:37 -0500
commit8123731f2207533c349b2d9df347deb13698e7d5 (patch)
tree7d3b9d7d3e33af78d5ded8717825994f6c69d1fc /games/pychess
parentf6b75f26bdd9a64234f54e424a669695e1af37f1 (diff)
games/pychess: Switch to python-3.x.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/pychess')
-rw-r--r--games/pychess/pychess.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/pychess/pychess.SlackBuild b/games/pychess/pychess.SlackBuild
index 5ece075be581..425298c9830f 100644
--- a/games/pychess/pychess.SlackBuild
+++ b/games/pychess/pychess.SlackBuild
@@ -69,7 +69,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-python setup.py install --root=$PKG
+python3 setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true