aboutsummaryrefslogtreecommitdiff
path: root/libraries/qt-assistant-compat/qt-assistant-compat.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/qt-assistant-compat/qt-assistant-compat.SlackBuild')
-rw-r--r--libraries/qt-assistant-compat/qt-assistant-compat.SlackBuild12
1 files changed, 8 insertions, 4 deletions
diff --git a/libraries/qt-assistant-compat/qt-assistant-compat.SlackBuild b/libraries/qt-assistant-compat/qt-assistant-compat.SlackBuild
index 44301cf3639ef..f6b3a2f400367 100644
--- a/libraries/qt-assistant-compat/qt-assistant-compat.SlackBuild
+++ b/libraries/qt-assistant-compat/qt-assistant-compat.SlackBuild
@@ -26,6 +26,8 @@
# Maintainer and packager is Ronald van Haren. Thank you!
# http://www.archlinux.org/packages/extra/i686/qt-assistant-compat/
+# 20220124 bkw: modified for -current qt4 build.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=qt-assistant-compat
@@ -73,6 +75,8 @@ fi
set -e
+source /etc/profile.d/qt4.sh
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
@@ -109,15 +113,15 @@ make
make install INSTALL_ROOT=$PKG
# Fix wrong path in prl file
-sed -i -e /^QMAKE_PRL_BUILD_DIR/d $PKG/usr/lib${LIBDIRSUFFIX}/qt/lib/libQtAssistantClient.prl
+sed -i -e /^QMAKE_PRL_BUILD_DIR/d $PKG/$QT4DIR/lib/libQtAssistantClient.prl
cd translations
-mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/qt/translations
-cp assistant_adp_*.qm $PKG/usr/lib${LIBDIRSUFFIX}/qt/translations/
+mkdir -p $PKG/$QT4DIR/translations
+cp assistant_adp_*.qm $PKG/$QT4DIR/translations/
cd ..
cd features
-install -D -m644 assistant.prf $PKG/usr/lib${LIBDIRSUFFIX}/qt/mkspecs/features/assistant.prf
+install -D -m644 assistant.prf $PKG/$QT4DIR/mkspecs/features/assistant.prf
cd -
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \