# $Id: PKGBUILD 16696 2008-10-22 02:26:55Z allan $
# Maintainer: damir <damir@archlinux.org>

pkgname=mysql-python
pkgver=1.2.2
pkgrel=2
pkgdesc="MySQL support for Python"
arch=("i686" "x86_64")
url="http://sourceforge.net/projects/mysql-python"
license=('GPL2')
depends=('python>=2.6' 'libmysqlclient')
makedepends=('mysql>=5.0.23' 'setuptools')
source=("http://downloads.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
}