mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 04:54:39 +08:00
26 lines
849 B
Bash
26 lines
849 B
Bash
# $Id: PKGBUILD 73346 2010-03-25 10:52:58Z daniel $
|
|
# Maintainer: Daniel Isenmann <daniel@archlinux.org>
|
|
|
|
pkgname=libgdiplus
|
|
pkgver=2.6.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>=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=('6771225607e6624f8bf99e4515bd7957'
|
|
'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
|
|
}
|