mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 21:57:13 +08:00
20 lines
599 B
Bash
20 lines
599 B
Bash
# $Id: PKGBUILD 59043 2009-11-19 16:20:45Z andrea $
|
|
# Contributor: damir <damir@archlinux.org>
|
|
|
|
pkgname=mysql-python
|
|
pkgver=1.2.3c1
|
|
pkgrel=2
|
|
pkgdesc="MySQL support for Python"
|
|
arch=("i686" "x86_64")
|
|
url="http://sourceforge.net/projects/mysql-python"
|
|
license=('GPL2')
|
|
depends=('python>=2.6' '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}
|
|
python setup.py install --root=${pkgdir} || return 1
|
|
}
|