cd ${SOURCE_DIRECTORY}/lib &&
default_install &&
cd ${SOURCE_DIRECTORY} &&
sed -i -e "/^QMAKE_PRL_BUILD_DIR/d" ${INSTALL_ROOT}/usr/lib/libQtAssistantClient.prl &&
mkdir -p ${INSTALL_ROOT}/usr/share/qt4/translations/ &&
install -p -m0644 translations/assistant_adp_*.qm ${INSTALL_ROOT}/usr/share/qt4/translations/ &&
install -D -p -m0644 features/assistant.prf ${INSTALL_ROOT}/usr/share/qt4/mkspecs/features/assistant.prf &&
mkdir -p ${INSTALL_ROOT}/usr/include/qt4/QtAssistant &&
echo '#include "qassistantclient.h"' > ${INSTALL_ROOT}/usr/include/qt4/QtAssistant/QAssistantClient &&
echo -e '#ifndef QT_QTASSISTANT_MODULE_H'  > ${INSTALL_ROOT}/usr/include/qt4/QtAssistant/QtAssistant &&
echo -e '#define QT_QTASSISTANT_MODULE_H' >> ${INSTALL_ROOT}/usr/include/qt4/QtAssistant/QtAssistant &&
echo -e '#include <QtNetwork/QtNetwork>'  >> ${INSTALL_ROOT}/usr/include/qt4/QtAssistant/QtAssistant &&
echo -e '#include "qassistantclient.h"'   >> ${INSTALL_ROOT}/usr/include/qt4/QtAssistant/QtAssistant &&
echo -e '#endif'                          >> ${INSTALL_ROOT}/usr/include/qt4/QtAssistant/QtAssistant
