# $Id: PKGBUILD 15386 2008-10-13 16:29:55Z daniel $
# Maintainer: daniel@archlinux.org

pkgname=libgdiplus
pkgver=2.2
pkgrel=1
pkgdesc="An Open Source Implementation of the GDI+ API"
arch=(i686 x86_64)
license=('MPL' 'LGPL')
url="http://www.mono-project.com"
depends=('libtiff' 'cairo>=1.6.4' 'giflib' 'glib2>=2.18.0' 'libexif')
makedepends=('automake' 'pkgconfig')
options=('!libtool')
source=(http://go-mono.com/sources/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
md5sums=('4af9c8171e75f1408c3628a8f7937d9f')

build() {
  cd ${startdir}/src/${pkgname}-${pkgver}
  ./configure --prefix=/usr --with-cairo=system
  make || return 1
  make DESTDIR=${startdir}/pkg install || return 1
}