summaryrefslogtreecommitdiff
path: root/extra/libgdiplus/PKGBUILD
blob: 4569f4bc901021386ae22db50d0175409a611132 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $Id: PKGBUILD 184402 2013-05-06 19:38:19Z foutrelis $
# Maintainer: Daniel Isenmann <daniel@archlinux.org>

pkgname=libgdiplus
pkgver=2.10
pkgrel=4
pkgdesc="An Open Source Implementation of the GDI+ API"
arch=(i686 x86_64)
license=('MPL' 'LGPL')
url="http://www.mono-project.com"
depends=('libtiff>=3.9.2-2' 'cairo>=1.8.10' 'giflib' 'glib2>=2.24.0' 'libexif')
options=('!libtool')
source=(http://download.mono-project.com/sources/${pkgname}/${pkgname}-${pkgver}.tar.bz2 libpng15.patch)
md5sums=('451966e8f637e3a1f02d1d30f900255d'
         'a2d143676bbaceeb88b4c34069e93986')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  patch -p0 <../libpng15.patch
  ./configure --prefix=/usr --with-cairo=system

  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}