# Maintainer: Francesco Colista pkgname=py-mysqldb pkgver=1.2.3c1 pkgrel=0 pkgdesc="MySQL Module for python" url="http://sourceforge.net/projects/mysql-python/" arch="all" license="GPL" depends="python libmysqlclient" makedepends="py-setuptools mysql-dev" source="http://downloads.sourceforge.net/mysql-python/MySQL-python-${pkgver}.tar.gz" build() { cd "$srcdir"/MySQL-python-$pkgver mkdir -p "$pkgdir"/usr/lib/python2.6/site-packages python setup.py install --root="$pkgdir" echo "/usr/lib/python2.6/site-packages/$pkgname-$pkgver-py2.6.egg" \ > "$pkgdir"/usr/lib/python2.6/site-packages/$pkgname.pth } md5sums="310dd856e439d070b59ece6dd7a0734d MySQL-python-1.2.3c1.tar.gz"