summaryrefslogtreecommitdiffstats
path: root/arch/3.5.13/trinity-extras
diff options
context:
space:
mode:
authorPawel "l0ner" Soltys <pwslts@gmail.com>2012-02-07 18:18:09 +0100
committerPawel "l0ner" Soltys <pwslts@gmail.com>2012-02-07 18:18:09 +0100
commit7a1eb964151e0e73ac1a73a735a1f17e63657274 (patch)
treede2b0159317dbcae4a0099d9e970a21e16276b9e /arch/3.5.13/trinity-extras
parent60ab053f8a577b3f2c4d9624c2172d3fe862b345 (diff)
downloadtde-packaging-7a1eb964151e0e73ac1a73a735a1f17e63657274.tar.gz
tde-packaging-7a1eb964151e0e73ac1a73a735a1f17e63657274.zip
libcarddav: minor fixups, dropped _prefix variable
Diffstat (limited to 'arch/3.5.13/trinity-extras')
-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
}