summaryrefslogtreecommitdiffstats
path: root/arch/3.5.13/trinity-extras/trinity-libcarddav
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-libcarddav
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-libcarddav')
-rw-r--r--arch/3.5.13/trinity-extras/trinity-libcarddav/PKGBUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/arch/3.5.13/trinity-extras/trinity-libcarddav/PKGBUILD b/arch/3.5.13/trinity-extras/trinity-libcarddav/PKGBUILD
index 918d9a853..f08419908 100644
--- a/arch/3.5.13/trinity-extras/trinity-libcarddav/PKGBUILD
+++ b/arch/3.5.13/trinity-extras/trinity-libcarddav/PKGBUILD
@@ -18,10 +18,11 @@ source=("http://quickbuild.pearsoncomputing.net:58080/2056019/libcarddav_${pkgve
md5sums=('42a0fe57ba4c639aad53024f6c8d5614'
'63ef0b91ff27dfb7c48ca0f07866af79')
-_prefix=/usr
-
build() {
cd ${srcdir}
+ msg "setting environment variables..."
+ [ "$QTDIR" = "" ] && . /etc/profile.d/qt3.sh
+ [ "$TDEDIR" = "" ] && . /etc/profile.d/trinity.sh
# apply libcarddav patch
msg "Applying Patch: libcarddav.patch"
@@ -29,9 +30,9 @@ build() {
cd ${srcdir}/libcarddav-${pkgver}
msg "Running ./autogen.sh for autoreconf"
- ./autogen.sh --prefix=${_prefix}
+ ./autogen.sh --prefix=${TDEDIR}
# msg "Running configure"
- # ./configure --prefix=${_prefix}
+ # ./configure --prefix=${TDEDIR}
make || return 1
}