# $Id$ # Maintainer: Daniel Isenmann <daniel@archlinux.org> pkgname=libgdiplus pkgver=3.8 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' 'giflib' 'glib2' 'libexif') source=(http://download.mono-project.com/sources/${pkgname}/${pkgname}-${pkgver}.tar.gz libgdiplus0-giflib5.patch) md5sums=('e75440257b006d7fc2c39e9c56022c4e' 'a2db6fbb81b1367b3d45eaff674c00a5') prepare() { cd ${pkgname}-${pkgver} patch -Np1 -i ../libgdiplus0-giflib5.patch sed -i -e 's/-L\${libjpeg_prefix}\/lib -ljpeg/-ljpeg/' configure } build() { cd ${pkgname}-${pkgver} ./configure --prefix=/usr --with-cairo=system make } package() { cd ${pkgname}-${pkgver} make DESTDIR="${pkgdir}" install }