summaryrefslogtreecommitdiffstats
path: root/arch/3.5.13/trinity-extras/trinity-libcarddav/PKGBUILD
diff options
context:
space:
mode:
authorRobert Xu <robxu9@gmail.com>2012-02-21 19:27:13 -0500
committerRobert Xu <robxu9@gmail.com>2012-02-21 19:27:13 -0500
commit5d7b5e6defb05f81691d286d40f67260c4733d00 (patch)
treeb2bfcca86b05179cad334dc61c5609e54ac7674d /arch/3.5.13/trinity-extras/trinity-libcarddav/PKGBUILD
parent580ce2082fe5054c9ad0e4f666cee9b4bfb2d0b6 (diff)
parenta14ac9de2f5843036c9f452f1188979fef17ae6d (diff)
downloadtde-packaging-5d7b5e6defb05f81691d286d40f67260c4733d00.tar.gz
tde-packaging-5d7b5e6defb05f81691d286d40f67260c4733d00.zip
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tde-packaging
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
}