summaryrefslogtreecommitdiffstats
path: root/arch/3.5.13/trinity-extras/trinity-libcaldav
diff options
context:
space:
mode:
Diffstat (limited to 'arch/3.5.13/trinity-extras/trinity-libcaldav')
-rw-r--r--arch/3.5.13/trinity-extras/trinity-libcaldav/Changelog.patch12
-rw-r--r--arch/3.5.13/trinity-extras/trinity-libcaldav/Makefile.am.patch11
-rw-r--r--arch/3.5.13/trinity-extras/trinity-libcaldav/Makefile.in.patch11
-rw-r--r--arch/3.5.13/trinity-extras/trinity-libcaldav/PKGBUILD45
4 files changed, 79 insertions, 0 deletions
diff --git a/arch/3.5.13/trinity-extras/trinity-libcaldav/Changelog.patch b/arch/3.5.13/trinity-extras/trinity-libcaldav/Changelog.patch
new file mode 100644
index 000000000..db579b99b
--- /dev/null
+++ b/arch/3.5.13/trinity-extras/trinity-libcaldav/Changelog.patch
@@ -0,0 +1,12 @@
+--- libcaldav-0.6.5/ChangeLog
++++ libcaldav-0.6.5/ChangeLog 2011-05-08 00:56:11.000000000 -0500
+@@ -1,3 +1,9 @@
++libcaldav (0.6.5)
++ * Fix bug to be able to integrate the debian libcaldav
++ source with Arch PKGBUILD Patch provided by Timothy Pearson
++
++-- David Rankin <drankinatty@gmail.com> Sun, 8 May 2011 22:51:03 +0100
++
+ libcaldav (0.6.2)
+ * Fix bug to be able to handle HTTP HEADER lines split
+ over multiple lines. Patch provided by Timothy Pearson
diff --git a/arch/3.5.13/trinity-extras/trinity-libcaldav/Makefile.am.patch b/arch/3.5.13/trinity-extras/trinity-libcaldav/Makefile.am.patch
new file mode 100644
index 000000000..37a673219
--- /dev/null
+++ b/arch/3.5.13/trinity-extras/trinity-libcaldav/Makefile.am.patch
@@ -0,0 +1,11 @@
+--- libcaldav-0.6.5/src/Makefile.am
++++ libcaldav-0.6.5/src/Makefile.am 2011-05-08 01:16:47.000000000 -0500
+@@ -37,7 +37,7 @@
+ get-freebusy-report.c \
+ get-freebusy-report.h
+
+-libcaldav_includedir=$(includedir)/libcaldav-@VERSION@
++libcaldav_includedir=$(includedir)/libcaldav
+ libcaldav_include_HEADERS = caldav.h
+
+ noinst_HEADERS = \
diff --git a/arch/3.5.13/trinity-extras/trinity-libcaldav/Makefile.in.patch b/arch/3.5.13/trinity-extras/trinity-libcaldav/Makefile.in.patch
new file mode 100644
index 000000000..cb0ad466a
--- /dev/null
+++ b/arch/3.5.13/trinity-extras/trinity-libcaldav/Makefile.in.patch
@@ -0,0 +1,11 @@
+--- libcaldav-0.6.5/src/Makefile.in
++++ libcaldav-0.6.5/src/Makefile.in 2011-05-08 01:16:15.000000000 -0500
+@@ -284,7 +284,7 @@
+ get-freebusy-report.c \
+ get-freebusy-report.h
+
+-libcaldav_includedir = $(includedir)/libcaldav-@VERSION@
++libcaldav_includedir = $(includedir)/libcaldav
+ libcaldav_include_HEADERS = caldav.h
+ noinst_HEADERS = \
+ add-caldav-object.h \
diff --git a/arch/3.5.13/trinity-extras/trinity-libcaldav/PKGBUILD b/arch/3.5.13/trinity-extras/trinity-libcaldav/PKGBUILD
new file mode 100644
index 000000000..c704e5020
--- /dev/null
+++ b/arch/3.5.13/trinity-extras/trinity-libcaldav/PKGBUILD
@@ -0,0 +1,45 @@
+# Maintainer: Calvin Morrison <mutantturkey@gmail.com>
+#
+
+pkgname=trinity-libcaldav
+pkgver=0.6.5
+_pkgsuffix=2debian2
+pkgrel=1
+pkgdesc="A client library adding support for the CalDAV protocol"
+arch=('i686' 'x86_64')
+url="http://www.trinitydesktop.org"
+groups=('trinity-extras')
+depends=('doxygen' 'curl')
+license=('GPL')
+provides=('trinity-libcaldav' 'libcaldav')
+conflicts=('libcaldav')
+replaces=('trinity-libcaldav')
+source=("http://quickbuild.pearsoncomputing.net:58080/2055979/libcaldav_0.6.5-2debian2.tar.gz" "Changelog.patch" "Makefile.am.patch" "Makefile.in.patch")
+md5sums=('fba66a6c605a6d7be67a638cd29667b6'
+ '184818aedf65459ad3f9c0741462f85a'
+ '5ce5bd3c1ed4d5004a864130a971f737'
+ 'c136e14af1923c2cf6dc5beb93da2ba4')
+
+_prefix=/usr
+
+build() {
+
+ # patch for Changelog version
+ patch -p0 -i ${srcdir}/Changelog.patch || return 1
+ patch -p0 -i ${srcdir}/Makefile.am.patch || return 1
+ patch -p0 -i ${srcdir}/Makefile.in.patch || return 1
+
+ cd ${srcdir}/libcaldav-${pkgver}
+ msg "Running ./autogen.sh for autoreconf"
+ ./autogen.sh --prefix=${_prefix}
+# --includedir=/usr/include
+# msg "Running configure"
+# ./configure --prefix=${_prefix}
+
+ make || return 1
+}
+
+package() {
+ cd ${srcdir}/libcaldav-${pkgver}
+ make DESTDIR=${pkgdir} install
+}