# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve> 
# Contributor: kontrast <kontr4st@gmail.com> 
pkgname=python-pycurl
pkgver=7.19.0
pkgrel=3
pkgdesc="A Python interface to libcurl"
arch=('i686' 'x86_64')
url="http://pycurl.sourceforge.net"
license=('GPL')
depends=('python' 'curl>=7.19.0')
replaces=('pycurl')
provides=('pycurl')
source=(http://pycurl.sourceforge.net/download/pycurl-$pkgver.tar.gz)
md5sums=('919d58fe37e69fe87ce4534d8b6a1c7b')

build() {
  cd $srcdir/pycurl-$pkgver
  python setup.py install --curl-config=/usr/bin/curl-config --prefix $pkgdir/usr || return 1
}