summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authormutantturkey <crazycal00@gmail.com>2011-09-19 22:51:25 -0400
committermutantturkey <crazycal00@gmail.com>2011-09-19 22:51:25 -0400
commitb5a610853d15597457be7a77fca30a0bb2155e97 (patch)
tree335aeb4096ff6acea776bf1526ab8c35bc2e125e /arch
parent56e482c2f2363d80ba86beb88abf615e0b913980 (diff)
downloadtde-packaging-b5a610853d15597457be7a77fca30a0bb2155e97.tar.gz
tde-packaging-b5a610853d15597457be7a77fca30a0bb2155e97.zip
added back in /etc/profile.d/qt3.sh
Diffstat (limited to 'arch')
-rw-r--r--arch/calvin/trinity-qt3/PKGBUILD11
1 files changed, 10 insertions, 1 deletions
diff --git a/arch/calvin/trinity-qt3/PKGBUILD b/arch/calvin/trinity-qt3/PKGBUILD
index fd2d3be47..2fe272238 100644
--- a/arch/calvin/trinity-qt3/PKGBUILD
+++ b/arch/calvin/trinity-qt3/PKGBUILD
@@ -61,6 +61,7 @@ fi
#make -C qmake || return 1
./configure -prefix ${_prefix} \
-fast \
+ -sysconfdir /etc/qt \
-thread \
-shared \
-system-zlib \
@@ -72,6 +73,14 @@ fi
package() {
cd "$srcdir/$_gitname"
- make INSTALL_ROOT="$pkgdir/" install
+
+ # Build and install qt.profile
+ echo "export QTDIR=${_prefix}" > ${srcdir}/qt.profile
+ echo "export QT_XFT=true" >> ${srcdir}/qt.profile
+ echo 'export PATH=$PATH:$QTDIR/bin' >> ${srcdir}/qt.profile
+ echo 'export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$QTDIR/pkgconfig' >> ${srcdir}/qt.profile
+ install -D -m755 ${srcdir}/qt.profile ${pkgdir}/etc/profile.d/qt3.sh
+
+ make INSTALL_ROOT="$pkgdir/" install
}