summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorPawel "l0ner" Soltys <pwslts@gmail.com>2012-02-07 18:17:58 +0100
committerPawel "l0ner" Soltys <pwslts@gmail.com>2012-02-07 18:17:58 +0100
commit60ab053f8a577b3f2c4d9624c2172d3fe862b345 (patch)
tree9daa6a689c50f27f8f9661c1c74ac3a54fcd78d3 /arch
parent476f266bccdfc98a3eb09bf6642dc85e640df012 (diff)
downloadtde-packaging-60ab053f8a577b3f2c4d9624c2172d3fe862b345.tar.gz
tde-packaging-60ab053f8a577b3f2c4d9624c2172d3fe862b345.zip
libcaldav: minor fixups, dropped _prefix variable
Diffstat (limited to 'arch')
-rw-r--r--arch/3.5.13/trinity-extras/trinity-libcaldav/PKGBUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/arch/3.5.13/trinity-extras/trinity-libcaldav/PKGBUILD b/arch/3.5.13/trinity-extras/trinity-libcaldav/PKGBUILD
index 933a98c7d..97ce89858 100644
--- a/arch/3.5.13/trinity-extras/trinity-libcaldav/PKGBUILD
+++ b/arch/3.5.13/trinity-extras/trinity-libcaldav/PKGBUILD
@@ -20,9 +20,10 @@ md5sums=('fba66a6c605a6d7be67a638cd29667b6'
'5ce5bd3c1ed4d5004a864130a971f737'
'c136e14af1923c2cf6dc5beb93da2ba4')
-_prefix=/usr
-
build() {
+ msg "Setting enviroment variables..."
+ [ "$QTDIR" = "" ] && . /etc/profile.d/qt3.sh
+ [ "$TDEDIR" = "" ] && . /etc/profile.d/trinity.sh
# patch for Changelog version
patch -p0 -i ${srcdir}/Changelog.patch || return 1
@@ -31,10 +32,10 @@ build() {
cd ${srcdir}/libcaldav-${pkgver}
msg "Running ./autogen.sh for autoreconf"
- ./autogen.sh --prefix=${_prefix}
+ ./autogen.sh --prefix=${TDEDIR}
# --includedir=/usr/include
# msg "Running configure"
-# ./configure --prefix=${_prefix}
+# ./configure --prefix=${TDEDIR}
make || return 1
}