2 # Contributor: Jan de Groot <jgc@archlinux.org>
3 # Contributor: Brice Carpentier <brice@daknet.org>
8 pkgdesc="Cairo vector graphics library"
10 license=('LGPL' 'MPL')
11 url="http://cairographics.org/"
12 depends=('libpng>=1.4.0' 'libxrender' 'fontconfig>=2.8.0' 'pixman>=0.18.4' 'glib2>=2.24.0' 'sh' 'xcb-util>=0.3.6')
13 makedepends=('pkgconfig')
14 provides=("cairo=$pkgver")
17 source=(http://cairographics.org/releases/${pkgname%-*}-${pkgver}.tar.gz
18 cairo-1.10.0-buggy_gradients.patch)
19 md5sums=('f101a9e88b783337b20b2e26dfd26d5f'
20 '9b323790dab003e228c6955633cb888e')
21 sha256sums=('32018c7998358eebc2ad578ff8d8559d34fc80252095f110a572ed23d989fc41'
22 '79085147567e6e080d5c1d7d2246f7d4be1efcc8e4b4fe44b6db1ebeae93c420')
25 cd "${srcdir}/${pkgname%-*}-${pkgver}"
26 patch -Np1 -i "${srcdir}/cairo-1.10.0-buggy_gradients.patch"
27 ./configure --prefix=/usr \
29 --localstatedir=/var \
37 cd "${srcdir}/${pkgname%-*}-${pkgver}"
38 make DESTDIR="${pkgdir}" install