aboutsummaryrefslogtreecommitdiff
path: root/office/krop/krop.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/krop/krop.SlackBuild')
-rw-r--r--office/krop/krop.SlackBuild5
1 files changed, 2 insertions, 3 deletions
diff --git a/office/krop/krop.SlackBuild b/office/krop/krop.SlackBuild
index 178be57586640..d1dd7f527c704 100644
--- a/office/krop/krop.SlackBuild
+++ b/office/krop/krop.SlackBuild
@@ -79,11 +79,10 @@ 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 {} \;
-sed -i 's/import sys.*/&\nsys.argv.append("--no-qt5")/' krop/config.py
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-python setup.py install --root=$PKG
+python3 setup.py install --root=$PKG
+sed -i "s|krop==0.6.0|krop|g" $PKG/usr/bin/krop
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