updated on Thu Jan 12 20:00:29 UTC 2012
[aur-mirror.git] / cairo-xcb / PKGBUILD
blob07968c2baf6fd4c5901f2b94962dade0f2025f8e
1 # Maintainer: xduugu
2 # Contributor: Jan de Groot <jgc@archlinux.org>
3 # Contributor: Brice Carpentier <brice@daknet.org>
5 pkgname=cairo-xcb
6 pkgver=1.10.2
7 pkgrel=2
8 pkgdesc="Cairo vector graphics library"
9 arch=(i686 x86_64)
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")
15 conflicts=('cairo')
16 options=('!libtool')
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')
24 build() {
25   cd "${srcdir}/${pkgname%-*}-${pkgver}"
26   patch -Np1 -i "${srcdir}/cairo-1.10.0-buggy_gradients.patch"
27   ./configure --prefix=/usr \
28         --sysconfdir=/etc \
29         --localstatedir=/var \
30         --disable-static \
31         --enable-tee \
32         --enable-xcb
33   make
36 package() {
37   cd "${srcdir}/${pkgname%-*}-${pkgver}"
38   make DESTDIR="${pkgdir}" install