summaryrefslogtreecommitdiffstats
path: root/arch/3.5.13/trinity-extras/trinity-kdepim
diff options
context:
space:
mode:
authorPawel "l0ner" Soltys <[email protected]>2012-02-07 19:31:09 +0100
committerPawel "l0ner" Soltys <[email protected]>2012-02-07 19:31:09 +0100
commitd78b97e85b5cad2c1465912e07ede509054e2e8c (patch)
treed49b4e8252cf0838e279bbeb8700eaa06c653e2a /arch/3.5.13/trinity-extras/trinity-kdepim
parent7f4e6156bfa4df3a99451b3bfc524126eb054d7a (diff)
parentf1638a688ac157ef64bcc1ff950538b89ed7aa4a (diff)
downloadtde-packaging-d78b97e85b5cad2c1465912e07ede509054e2e8c.tar.gz
tde-packaging-d78b97e85b5cad2c1465912e07ede509054e2e8c.zip
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tde-packaging
Diffstat (limited to 'arch/3.5.13/trinity-extras/trinity-kdepim')
-rw-r--r--arch/3.5.13/trinity-extras/trinity-kdepim/PKGBUILD17
1 files changed, 4 insertions, 13 deletions
diff --git a/arch/3.5.13/trinity-extras/trinity-kdepim/PKGBUILD b/arch/3.5.13/trinity-extras/trinity-kdepim/PKGBUILD
index 7a49f3bcf..dcb645557 100644
--- a/arch/3.5.13/trinity-extras/trinity-kdepim/PKGBUILD
+++ b/arch/3.5.13/trinity-extras/trinity-kdepim/PKGBUILD
@@ -25,18 +25,11 @@ source=('http://mirror.ets.kth.se/trinity/releases/3.5.13/kdepim-3.5.13.tar.gz')
source=('http://anduin.linuxfromscratch.org/sources/trinity/kdepim-3.5.13.tar.gz')
md5sums=('4488062d5400bdd99642fe0b72ebcf9a')
-_prefix="/opt/trinity"
-
build() {
-
msg "Setting PATH, CMAKE and Trinity Environment variables"
- export CMAKE_PREFIX_PATH=/opt/qt:/opt/trinity
- . /etc/profile.d/qt3.sh
-
- export CMAKE_INCLUDE_PATH=/opt/qt/include:/opt/qt/include/tqt:/usr/include/dbus-1.0:/opt/trinity/include:/opt/trinity/include/libkrandr:/usr/include
- export LD_LIBRARY_PATH=/opt/trinity/lib:/opt/trinity/lib/kde3:$LD_LIBRARY_PATH
- export PKG_CONFIG_PATH=:/opt/trinity/lib/pkgconfig:/opt/qt/lib/pkgconfig
-
+ [ "$QTDIR" = "" ] && . /etc/profile.d/qt3.sh
+ [ "$TDEDIR" = "" ] && . /etc/profile.d/trinity.sh
+
cd $srcdir
msg "Creating out-of-source build directory: ${srcdir}/build"
mkdir -p build
@@ -44,7 +37,7 @@ build() {
msg "Starting cmake..."
cmake ${srcdir}/kdepim \
- -DCMAKE_INSTALL_PREFIX=${_prefix} \
+ -DCMAKE_INSTALL_PREFIX=${TDEDIR} \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DWITH_SASL=ON \
-DWITH_NEWDISTRLISTS=ON \
@@ -71,8 +64,6 @@ build() {
package() {
msg "Packaging - $pkgname-$pkgver"
cd ${srcdir}/build
-
make DESTDIR="$pkgdir" install
-
cd ${startdir}
}