# $Id: PKGBUILD 1020 2008-04-27 18:50:59Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=pycairo
pkgver=1.4.12
pkgrel=1
pkgdesc="Python bindings for the cairo graphics library"
arch=(i686 x86_64)
license=('LGPL' 'MPL')
depends=('python>=2.5' 'cairo>=1.6.4')
options=('!libtool')
source=(http://cairographics.org/releases/${pkgname}-${pkgver}.tar.gz)
url="http://www.cairographics.org/"
md5sums=('c63199d35b1e1d3c5133509f315f70d7')

build() {
  cd ${startdir}/src/${pkgname}-${pkgver}
  ./configure --prefix=/usr || return 1
  make || return 1
  make DESTDIR=${startdir}/pkg install || return 1
}