|
|
|
# Maintainer: Pawel 'l0ner' Soltys <pwslts@gmail.com>
|
|
|
|
# Contributor: 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')
|
|
|
|
|
|
|
|
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
|
|
|
|
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=${TDEDIR}
|
|
|
|
# --includedir=/usr/include
|
|
|
|
# msg "Running configure"
|
|
|
|
# ./configure --prefix=${TDEDIR}
|
|
|
|
|
|
|
|
make || return 1
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd ${srcdir}/libcaldav-${pkgver}
|
|
|
|
make DESTDIR=${pkgdir} install
|
|
|
|
}
|