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

pkgname=mysql-python
pkgver=1.2.3
pkgrel=2
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
}