diff options
author | B. Watson <yalhcru@gmail.com> | 2022-01-24 16:46:32 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-01-25 14:44:36 +0700 |
commit | b943244468ca19e67dfe04bbedaffa073bf75570 (patch) | |
tree | 8df24562b1ac9e79dab945d8a86cf3eaf6ffd5e3 /libraries/qt-assistant-compat/qt-assistant-compat.SlackBuild | |
parent | ed95dbc32bb571fe7021dfebf763e1425211103c (diff) |
libraries/qt-assistant-compat: update for new qt4 build.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/qt-assistant-compat/qt-assistant-compat.SlackBuild')
-rw-r--r-- | libraries/qt-assistant-compat/qt-assistant-compat.SlackBuild | 12 |
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 \ |