summaryrefslogtreecommitdiffstats
path: root/arch/calvin
diff options
context:
space:
mode:
authormutantturkey <crazycal00@gmail.com>2011-09-19 21:20:18 -0400
committermutantturkey <crazycal00@gmail.com>2011-09-19 21:20:18 -0400
commit56e482c2f2363d80ba86beb88abf615e0b913980 (patch)
treebb377797dfc5ee8535f19d11e73c7d0e8a02607c /arch/calvin
parent33626df66b07d906d930e6382d8756613ed6302c (diff)
downloadtde-packaging-56e482c2f2363d80ba86beb88abf615e0b913980.tar.gz
tde-packaging-56e482c2f2363d80ba86beb88abf615e0b913980.zip
Qt3 works, now installs to /opt/qt3/
Diffstat (limited to 'arch/calvin')
-rw-r--r--arch/calvin/trinity-qt3/PKGBUILD28
1 files changed, 20 insertions, 8 deletions
diff --git a/arch/calvin/trinity-qt3/PKGBUILD b/arch/calvin/trinity-qt3/PKGBUILD
index cf8a3ef51..fd2d3be47 100644
--- a/arch/calvin/trinity-qt3/PKGBUILD
+++ b/arch/calvin/trinity-qt3/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Calvin Morrison <MutantTurkey@gmail.com>
pkgname=trinity-qt3
-pkgver=20110918
+pkgver=20110919
pkgrel=1
pkgdesc="The Qt3 gui toolkit - with Trinity upstream"
_prefix="/opt/qt"
@@ -32,14 +32,23 @@ build() {
cd $_gitname && git pull origin
msg "The local files are updated."
else
- git clone $_gitroot
+ git clone $_gitroot
fi
msg "GIT checkout done or server timeout"
msg "Starting make..."
-
+ export QTDIR="${srcdir}/"$_gitname
+ 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"
+ else unset ARCH
+fi
+
cd "$srcdir/$_gitname"
@@ -50,16 +59,19 @@ build() {
msg "Starting configure..."
#make -C qmake || return 1
- ./configure -thread -fast
+ ./configure -prefix ${_prefix} \
+ -fast \
+ -thread \
+ -shared \
+ -system-zlib \
+ -platform linux-g++$ARCH \
+ -system-lib{png,jpeg,mng}
make
}
package() {
- echo $PWD
- echo $pkgdir
- mkdir "$pkgdir/lib"
cd "$srcdir/$_gitname"
- make INSTALL_ROOT="$pkgdir/lib/" install
+ make INSTALL_ROOT="$pkgdir/" install
}