updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / cairo-cleartype / PKGBUILD
blob6a202f783fe5f5234f835def6c86984e1f622fe8
1 # Maintainer: Estevao Valadao <estevao@archlinux-br.org>
2 # Contributor: Sven Goericke <sgoericke@member.fsf.org>
3 # Contributor: Jan de Groot <jgc@archlinux.org>
4 # Contributor: Brice Carpentier <brice@daknet.org>
6 pkgname=cairo-cleartype
7 pkgver=1.10.2
8 pkgrel=2
9 pkgdesc="Cairo vector graphics library with ClearType patch from Gentoo and xcb enabled"
10 arch=(i686 x86_64)
11 license=('LGPL' 'MPL')
12 url="http://cairographics.org/"
13 depends=('libpng>=1.4.0' 'libxrender' 'fontconfig>=2.8.0' 'pixman>=0.18.4' 'glib2>=2.24.0' 'sh')
14 makedepends=('pkgconfig')
15 options=('!libtool')
16 conflicts=('cairo' 'cairo-xcb')
17 provides=("cairo=${pkgver}" "cairo-xcb")
18 source=(http://cairographics.org/releases/cairo-${pkgver}.tar.gz
19         cairo-1.10.0-buggy_gradients.patch
20                 cairo-9999-cleartype.patch)
21 sha1sums=('ccce5ae03f99c505db97c286a0c9a90a926d3c6e'
22           '8b843a9934e5112b6188e5bcf4adfc1fdaf9fa04'
23           '90ee97904ba1a729202bf8c3b60bdae4dd35ac5f')
25 build() {
26   cd "${srcdir}/cairo-${pkgver}"
27   patch -Np1 -i "${srcdir}/cairo-1.10.0-buggy_gradients.patch"
28   patch -Np1 -i "${srcdir}/cairo-9999-cleartype.patch"
29   ./configure --prefix=/usr \
30         --sysconfdir=/etc \
31         --localstatedir=/var \
32         --disable-static \
33         --enable-xcb \
34         --enable-tee
35   make
38 package() {
39   cd "${srcdir}/cairo-${pkgver}"
40   make DESTDIR="${pkgdir}" install