summaryrefslogtreecommitdiffstats
path: root/abs/core/python_modules/mysql-python/PKGBUILD
blob: 590c2db20c2699d84d659a67cee8c7eb7b84839d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# $Id: PKGBUILD 89788 2010-09-04 05:19:02Z remy $
# Contributor: damir <damir@archlinux.org>

pkgname=mysql-python
pkgver=1.2.3c1
pkgrel=4
pkgdesc="MySQL support for Python"
arch=("i686" "x86_64")
url="http://sourceforge.net/projects/mysql-python"
license=('GPL2')
depends=('python2' 'libmysqlclient>=5.1.41-2')
makedepends=('mysql>=5.1.41-2' 'setuptools')
source=("http://downloads.sourceforge.net/${pkgname}/MySQL-python-${pkgver}.tar.gz")
md5sums=('310dd856e439d070b59ece6dd7a0734d')

build() {
  cd ${srcdir}/MySQL-python-${pkgver}
  python2 setup.py install --root=${pkgdir} || return 1
}