diff options
Diffstat (limited to 'arch/master/trinity-libcaldav')
-rw-r--r-- | arch/master/trinity-libcaldav/Changelog.patch | 12 | ||||
-rw-r--r-- | arch/master/trinity-libcaldav/Makefile.am.patch | 11 | ||||
-rw-r--r-- | arch/master/trinity-libcaldav/Makefile.in.patch | 11 | ||||
-rw-r--r-- | arch/master/trinity-libcaldav/PKGBUILD | 46 |
4 files changed, 80 insertions, 0 deletions
diff --git a/arch/master/trinity-libcaldav/Changelog.patch b/arch/master/trinity-libcaldav/Changelog.patch new file mode 100644 index 000000000..db579b99b --- /dev/null +++ b/arch/master/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/master/trinity-libcaldav/Makefile.am.patch b/arch/master/trinity-libcaldav/Makefile.am.patch new file mode 100644 index 000000000..37a673219 --- /dev/null +++ b/arch/master/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/master/trinity-libcaldav/Makefile.in.patch b/arch/master/trinity-libcaldav/Makefile.in.patch new file mode 100644 index 000000000..cb0ad466a --- /dev/null +++ b/arch/master/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/master/trinity-libcaldav/PKGBUILD b/arch/master/trinity-libcaldav/PKGBUILD new file mode 100644 index 000000000..4e609d12e --- /dev/null +++ b/arch/master/trinity-libcaldav/PKGBUILD @@ -0,0 +1,46 @@ +# $Id$ +# Maintainer: David C. Rankin <drankinatty@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.riverbankcomputing.com/software/pyqt/intro" +groups=('trinity-bld') +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 +} |