# $Id: PKGBUILD 8941 2008-08-17 01:11:04Z eric $
# Maintainer: damir <damir@archlinux.org>

pkgname=mysql-python
pkgver=1.2.2
pkgrel=1
pkgdesc="MySQL support for Python"
arch=("i686" "x86_64")
url="http://sourceforge.net/projects/mysql-python"
depends=('python>=2.5' 'libmysqlclient')
makedepends=('mysql>=5.0.23' 'pyrex>=0.9.8.4' 'setuptools>=0.6c8')
source=("http://heanet.dl.sourceforge.net/sourceforge/mysql-python/MySQL-python-${pkgver}.tar.gz")
md5sums=('532268f02870bea18c1d465e88afff30')

build() {
  cd ${startdir}/src/MySQL-python-${pkgver}
  yes | python setup.py install --root=${startdir}/pkg
}