aboutsummaryrefslogtreecommitdiff
path: root/system/linkchecker
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-04-23 13:25:37 +0700
committerRobby Workman <rworkman@slackbuilds.org>2021-04-23 23:26:23 -0500
commitb41027f63e11b5d781d31a8c5fbc40447e2dc461 (patch)
tree001639712836c0794921030e3835d5edcf8c03e6 /system/linkchecker
parentf53affd02929c6a1c8005770e63f9c72255c0eb7 (diff)
system/linkchecker: Use Python2 explicitly.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/linkchecker')
-rw-r--r--system/linkchecker/linkchecker.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/linkchecker/linkchecker.SlackBuild b/system/linkchecker/linkchecker.SlackBuild
index 6e7375b2b9a11..6175a338611e5 100644
--- a/system/linkchecker/linkchecker.SlackBuild
+++ b/system/linkchecker/linkchecker.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for linkchecker
-# Copyright 2013-2017 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2013-2021 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
PRGNAM=linkchecker
SRCNAM=LinkChecker
VERSION=${VERSION:-9.3}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -74,7 +74,7 @@ find -L . \
# https://github.com/wummel/linkchecker/commit/c2ce810c3fb00b895a841a7be6b2e78c64e7b042
patch -p1 < $CWD/fix-python-requests.patch
-python setup.py install --root=$PKG
+python2 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