# $Id: PKGBUILD 94159 2010-10-04 20:47:03Z ibiru $ # Maintainer: Jan de Groot pkgname=evolution-sharp pkgver=0.21.1 pkgrel=2 pkgdesc="C# bindings for Novell Evolution" arch=(i686 x86_64 'mips64el') license=('GPL') url="http://ftp.gnome.org/pub/GNOME/sources/evolution-sharp/" depends=('evolution-data-server>=2.32.0') makedepends=('pkg-config' 'gtk-sharp-2>=2.12.8') options=('!libtool') source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/0.21/${pkgname}-${pkgver}.tar.bz2 evolution-sharp-0.21.1-fix-retarded-version-check.patch evolution-data-server-lib-target.patch) sha256sums=('3cb78088e332f71b2a7958d2e8c6af3c9ff168731c8fb423aad7038cbdef3a1c' '80f98baf3336383241deac73c3f0d3a0905c9a2a3790db7ec4bf6089a577cf5b' '177492c896d6cfc34f728d578e6948463f16ed731ffbf6aa555f9ec4b7f7af9e') build() { cd "${srcdir}/${pkgname}-${pkgver}" patch -Np1 -i "${srcdir}/evolution-sharp-0.21.1-fix-retarded-version-check.patch" patch -Np1 -i "${srcdir}/evolution-data-server-lib-target.patch" autoreconf -fi export MONO_SHARED_DIR="${startdir}/src/.wabi" mkdir -p "${MONO_SHARED_DIR}" ./configure --prefix=/usr --sysconfdir=/etc \ --localstatedir=/var --disable-static make DESTDIR="${pkgdir}" install rm -f "${pkgdir}/usr/lib/libevolutionglue.a" }