summaryrefslogtreecommitdiff
path: root/libraries/python3-PyQt5/python3-PyQt5.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/python3-PyQt5/python3-PyQt5.SlackBuild')
-rw-r--r--libraries/python3-PyQt5/python3-PyQt5.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/libraries/python3-PyQt5/python3-PyQt5.SlackBuild b/libraries/python3-PyQt5/python3-PyQt5.SlackBuild
index a7a393838a..ed96cb46fe 100644
--- a/libraries/python3-PyQt5/python3-PyQt5.SlackBuild
+++ b/libraries/python3-PyQt5/python3-PyQt5.SlackBuild
@@ -70,7 +70,7 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM-$VERSION
+rm -rf ${SRCNAM}_gpl-$VERSION
tar xvf $CWD/${SRCNAM}_gpl-$VERSION.tar.gz
cd ${SRCNAM}_gpl-$VERSION
chown -R root:root .
@@ -80,6 +80,9 @@ 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 {} \;
+# This is needed or an include from dbus is missed (thanks, Archlinux)
+sed -i '/target_config.dbus_inc_dirs = \[\]/d' configure.py
+
export QTDIR=/usr/lib${LIBDIRSUFFIX}/qt5
export QT5DIR=/usr/lib${LIBDIRSUFFIX}/qt5