From 308292e16401a8b9d54b0e976535a338320b3e95 Mon Sep 17 00:00:00 2001 From: "Pawel \"l0ner\" Soltys" Date: Sun, 29 Jan 2012 14:16:39 +0100 Subject: qt3: fixed typos --- arch/3.5.13/trinity-base/trinity-qt3/PKGBUILD | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'arch/3.5.13/trinity-base/trinity-qt3') 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 -- cgit v1.2.1