summaryrefslogtreecommitdiffstats
path: root/arch/master/trinity-libcarddav
diff options
context:
space:
mode:
Diffstat (limited to 'arch/master/trinity-libcarddav')
-rw-r--r--arch/master/trinity-libcarddav/PKGBUILD45
-rw-r--r--arch/master/trinity-libcarddav/libcarddav.patch37
2 files changed, 82 insertions, 0 deletions
diff --git a/arch/master/trinity-libcarddav/PKGBUILD b/arch/master/trinity-libcarddav/PKGBUILD
new file mode 100644
index 000000000..433f33457
--- /dev/null
+++ b/arch/master/trinity-libcarddav/PKGBUILD
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: David C. Rankin <drankinatty@gmail.com>
+#
+
+pkgname=trinity-libcarddav
+pkgver=0.6.2
+_pkgsuffix=2debian2
+pkgrel=1
+pkgdesc="A client library adding support for the CardDAV protocol"
+arch=('i686' 'x86_64')
+url="http://www.trinitydesktop.org/"
+groups=('trinity-bld')
+depends=('curl')
+license=('GPL')
+provides=('trinity-libcarddav' 'libcarddav')
+conflicts=('libcarddav')
+replaces=('trinity-libcarddav')
+# http://quickbuild.pearsoncomputing.net:58080/2056019/libcarddav_0.6.2-2debian2.tar.gz
+source=("http://quickbuild.pearsoncomputing.net:58080/2056019/libcarddav_${pkgver}-${_pkgsuffix}.tar.gz" "libcarddav.patch")
+md5sums=('42a0fe57ba4c639aad53024f6c8d5614'
+ '0b3729a3332aa6101d3ad1dfaa51c630')
+
+_prefix=/usr
+
+build() {
+
+ cd ${srcdir}
+
+ # apply libcarddav patch
+ msg "Applying Patch: libcarddav.patch"
+ patch -uNp2 -i ${srcdir}/libcarddav.patch || return 1
+
+ cd ${srcdir}/libcarddav-${pkgver}
+ msg "Running ./autogen.sh for autoreconf"
+ ./autogen.sh --prefix=${_prefix}
+# msg "Running configure"
+# ./configure --prefix=${_prefix}
+
+ make || return 1
+}
+
+package() {
+ cd ${srcdir}/libcarddav-${pkgver}
+ make DESTDIR=${pkgdir} install
+}
diff --git a/arch/master/trinity-libcarddav/libcarddav.patch b/arch/master/trinity-libcarddav/libcarddav.patch
new file mode 100644
index 000000000..6add74e63
--- /dev/null
+++ b/arch/master/trinity-libcarddav/libcarddav.patch
@@ -0,0 +1,37 @@
+diff -Naur trinity-libcarddav-orig//src/libcarddav-0.6.2/ChangeLog trinity-libcarddav//src/libcarddav-0.6.2/ChangeLog
+--- trinity-libcarddav-orig//src/libcarddav-0.6.2/ChangeLog 2010-07-21 02:57:45.000000000 -0500
++++ trinity-libcarddav//src/libcarddav-0.6.2/ChangeLog 2011-05-08 14:08:07.000000000 -0500
+@@ -1,3 +1,9 @@
++libcarddav (0.6.2)
++ * Update Changelog to correct version. Includes patch
++ provided by Timothy Pearson
++
++-- David Rankin <drankinatty@gmail.com> Sun, 8 May 2011 22:51:03 +0100
++
+ libcarddav (0.6.1)
+ * Fix redirection bug to fully support Zimbra server. Patch
+ provided by Timothy Pearson
+diff -Naur trinity-libcarddav-orig//src/libcarddav-0.6.2/src/Makefile.am trinity-libcarddav//src/libcarddav-0.6.2/src/Makefile.am
+--- trinity-libcarddav-orig//src/libcarddav-0.6.2/src/Makefile.am 2010-07-21 02:57:45.000000000 -0500
++++ trinity-libcarddav//src/libcarddav-0.6.2/src/Makefile.am 2011-05-08 14:08:37.000000000 -0500
+@@ -35,7 +35,7 @@
+ lock-carddav-object.c \
+ lock-carddav-object.h
+
+-libcarddav_includedir=$(includedir)/libcarddav-@VERSION@
++libcarddav_includedir=$(includedir)/libcarddav
+ libcarddav_include_HEADERS = carddav.h
+
+ noinst_HEADERS = \
+diff -Naur trinity-libcarddav-orig//src/libcarddav-0.6.2/src/Makefile.in trinity-libcarddav//src/libcarddav-0.6.2/src/Makefile.in
+--- trinity-libcarddav-orig//src/libcarddav-0.6.2/src/Makefile.in 2010-07-21 02:57:45.000000000 -0500
++++ trinity-libcarddav//src/libcarddav-0.6.2/src/Makefile.in 2011-05-08 14:09:05.000000000 -0500
+@@ -278,7 +278,7 @@
+ lock-carddav-object.c \
+ lock-carddav-object.h
+
+-libcarddav_includedir = $(includedir)/libcarddav-@VERSION@
++libcarddav_includedir = $(includedir)/libcarddav
+ libcarddav_include_HEADERS = carddav.h
+ noinst_HEADERS = \
+ add-carddav-object.h \