summaryrefslogtreecommitdiffstats
path: root/abs/core/mysql-python/PKGBUILD
blob: 20c680c7c2ea4d254f8e357e10c5f3a8d740abc5 (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=3
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' 'python2-distribute')
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
}