diff options
Diffstat (limited to 'arch/3.5.13/trinity-base/trinity-qt3')
-rw-r--r-- | arch/3.5.13/trinity-base/trinity-qt3/PKGBUILD | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/arch/3.5.13/trinity-base/trinity-qt3/PKGBUILD b/arch/3.5.13/trinity-base/trinity-qt3/PKGBUILD index 68a2923fc..5982a082d 100644 --- a/arch/3.5.13/trinity-base/trinity-qt3/PKGBUILD +++ b/arch/3.5.13/trinity-base/trinity-qt3/PKGBUILD @@ -74,14 +74,15 @@ build() { # change occurrences of $QTDIR into $QT3DIR # anything. Qt4 compatibility? - find ${srcdir}/qt3 -type f -exec \ - sed -i 's/QTDIR/QT3DIR/g' {} + + # not needed since, qt4 don't use $QTDIR + #find ${srcdir}/qt3 -type f -exec \ + # sed -i 's/QTDIR/QT3DIR/g' {} + msg "Setting enviroment variables..." - export QT3DIR="${srcdir}/qt3/" - export PATH=${QT3DIR}/bin:${PATH} - export LD_LIBRARY_PATH=${QT3DIR}/lib:${LD_LIBRARY_PATH} - export QMAKESPEC=$QT3DIR/mkspecs/linux-g++ + export QTDIR="${srcdir}/qt3/" + export PATH=${QTDIR}/bin:${PATH} + export LD_LIBRARY_PATH=${QTDIR}/lib:${LD_LIBRARY_PATH} + export QMAKESPEC=$QTDIR/mkspecs/linux-g++ if [ "$CARCH" = "x86_64" ]; then export ARCH="-64" @@ -185,7 +186,7 @@ package() { # Build and install qt.profile install -d -m755 ${pkgdir}/etc/profile.d/ - echo "export QT3DIR=${_prefix}" > ${pkgdir}/etc/profile.d/qt3.sh + echo "export QTDIR=${_prefix}" > ${pkgdir}/etc/profile.d/qt3.sh echo "export QT_XFT=true" >> ${pkgdir}/etc/profile.d/qt3.sh echo "export PATH+=:${_prefix}/bin" >> ${pkgdir}/etc/profile.d/qt3.sh echo "export PKG_CONFIG_PATH+=:${_prefix}/pkgconfig" >> ${pkgdir}/etc/profile.d/qt3.sh |