qt3: fixed typos

pull/3/head
Pawel "l0ner" Soltys 13 years ago
parent ac6eedcffb
commit 308292e164

@ -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

Loading…
Cancel
Save