summaryrefslogtreecommitdiffstats
path: root/arch/3.5.13/trinity-base/trinity-pyqt3/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'arch/3.5.13/trinity-base/trinity-pyqt3/PKGBUILD')
-rw-r--r--arch/3.5.13/trinity-base/trinity-pyqt3/PKGBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/3.5.13/trinity-base/trinity-pyqt3/PKGBUILD b/arch/3.5.13/trinity-base/trinity-pyqt3/PKGBUILD
index 2aca1f16c..3dbcc58ef 100644
--- a/arch/3.5.13/trinity-base/trinity-pyqt3/PKGBUILD
+++ b/arch/3.5.13/trinity-base/trinity-pyqt3/PKGBUILD
@@ -22,12 +22,14 @@ md5sums=('f1d120495d1aaf393819e988c0a7bb7e')
build() {
cd ${srcdir}/PyQt-x11-gpl-${pkgver}
+ [ "$QTDIR" = "" ] && . /etc/profile.d/qt3.sh
+ [ "$TDEDIR" = "" ] && . /etc/profile.d/trinity.sh
+
msg "Starting configure..."
- . /etc/profile.d/qt3.sh
export QMAKESPEC="/opt/qt/mkspecs/default"
- echo yes | python2.7 configure.py -q /opt/qt/
+ echo yes | python2.7 configure.py -q ${QTDIR}
msg "Building ${pkgname}..."
make