updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / cairo-wglitz / PKGBUILD
blob5046e8596203bd50378b0760fd440797d2bdaf6b
1 # $Id$
2 # Contributor: Niccolò Forlini <nick@linuxbox360.org>
3 # Maintainer: Jan de Groot <jgc@archlinux.org>
4 # Contributor: Brice Carpentier <brice@daknet.org>
6 pkgname=cairo-wglitz
7 _realname=cairo
8 pkgver=1.8.6
9 pkgrel=2
10 pkgdesc="Cairo vector graphics library"
11 arch=(i686 x86_64)
12 license=('LGPL' 'MPL')
13 url="http://cairographics.org/"
14 depends=('glitz' 'libpng>=1.2.31' 'libxrender' 'fontconfig>=2.6.0' 'pixman>=0.12.0' 'xcb-util>=0.3.0')
15 makedepends=('pkgconfig')
16 options=('!libtool')
17 provides=("$_realname=$pkgver")
18 conflicts=("$_realname")
19 source=(http://cairographics.org/releases/$_realname-${pkgver}.tar.gz)
20 md5sums=('4e64139ef6f668df24450f3b81dd0771')
22 build() {
23   cd "${srcdir}/$_realname-${pkgver}"
24   ./configure --prefix=/usr --sysconfdir=/etc --enable-glitz\
25     --localstatedir=/var --enable-xcb --disable-static || return 1
26   make || return 1
27   make DESTDIR="${pkgdir}" install || return 1