mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 21:47:17 +08:00
26 lines
844 B
Bash
26 lines
844 B
Bash
|
# $Id: PKGBUILD 63303 2010-01-16 22:52:58Z jgc $
|
||
|
# Maintainer: Daniel Isenmann <daniel@archlinux.org>
|
||
|
|
||
|
pkgname=libgdiplus
|
||
|
pkgver=2.6
|
||
|
pkgrel=2
|
||
|
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.8-2' 'giflib' 'glib2>=2.22.3' 'libexif')
|
||
|
makedepends=('pkgconfig')
|
||
|
options=('!libtool')
|
||
|
source=(http://ftp.novell.com/pub/mono/sources/${pkgname}/${pkgname}-${pkgver}.tar.bz2
|
||
|
gdiplus-png14.patch)
|
||
|
md5sums=('9107b4429fdafde914bd23405544c58d'
|
||
|
'8393904b1a1a79a51cb8b29d61dc090f')
|
||
|
|
||
|
build() {
|
||
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
||
|
patch -Np0 -i "${srcdir}/gdiplus-png14.patch" || return 1
|
||
|
./configure --prefix=/usr --with-cairo=system || return 1
|
||
|
make || return 1
|
||
|
make DESTDIR="${pkgdir}" install || return 1
|
||
|
}
|