summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorPawel "l0ner" Soltys <pwslts@gmail.com>2012-01-29 14:16:39 +0100
committerPawel "l0ner" Soltys <pwslts@gmail.com>2012-01-29 14:16:39 +0100
commit308292e16401a8b9d54b0e976535a338320b3e95 (patch)
treec4d9b6b9b964467ccf1e2a8cc8e1dc81fe77796e /arch
parentac6eedcffbb5aa7206ca691aa8008cfe350594fd (diff)
downloadtde-packaging-308292e16401a8b9d54b0e976535a338320b3e95.tar.gz
tde-packaging-308292e16401a8b9d54b0e976535a338320b3e95.zip
qt3: fixed typos
Diffstat (limited to 'arch')
-rw-r--r--arch/3.5.13/trinity-base/trinity-qt3/PKGBUILD15
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