# $Id: PKGBUILD 146717 2012-01-16 19:50:48Z dreisner $ # Maintainer: Jan de Groot # Contributor: Ben pkgname=gmime pkgver=2.6.4 pkgrel=1 pkgdesc="Core mime parsing library" arch=('i686' 'x86_64' 'mips64el') license=('GPL') url="http://spruce.sourceforge.net/gmime/" depends=('glib2' 'gpgme' 'zlib') makedepends=('gtk-sharp-2' 'pkgconfig') [ "$CARCH" = "mips64el" ] && \ unset makedepends options=('!libtool') source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz) sha256sums=('2e85076c223fe8bf1392a7c1affa4454cb3bb6dec83016ad6e3230c65533f163') build() { # get rid of that .wapi errors in fakeroot export MONO_SHARED_DIR="$srcdir/weird" mkdir -p "$MONO_SHARED_DIR" cd "$srcdir/$pkgname-$pkgver" ./configure --prefix=/usr --disable-static make } package() { cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir" install }