summaryrefslogtreecommitdiffstats
path: root/arch/3.5.13/trinity-extras/trinity-libcarddav/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'arch/3.5.13/trinity-extras/trinity-libcarddav/PKGBUILD')
-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
}