summaryrefslogtreecommitdiff
path: root/extra/mysql-python/PKGBUILD
blob: 4c1b04396399b71a0205d1b52881ea2c0d8ffd83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# $Id: PKGBUILD 151041 2012-02-24 14:12:17Z pierre $
# Maintainer: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>
# Contributor: damir <damir@archlinux.org>

pkgname=mysql-python
pkgver=1.2.3
pkgrel=3
pkgdesc="MySQL support for Python"
arch=("i686" "x86_64")
url="http://mysql-python.sourceforge.net/"
license=('GPL2')
depends=('python2' 'libmysqlclient')
makedepends=('mysql' 'python2-distribute')
source=("http://downloads.sourceforge.net/${pkgname}/MySQL-python-${pkgver}.tar.gz")
md5sums=('215eddb6d853f6f4be5b4afc4154292f')

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