From anonymous, 2 Years ago, written in Bash.
Embed
  1. # Maintainer: OramahMaalhur <oramahmaalhur@gmail.com>
  2. # Contributor: mtorromeo
  3. # Contributor: Florian Bruhin (The Compiler) <archlinux.org@the-compiler.org>
  4.  
  5. pkgname=python-oursql
  6. pkgver=0.9.3
  7. pkgrel=1
  8. pkgdesc="new set of MySQL bindings for python3"
  9. arch=(any)
  10. url="https://launchpad.net/oursql"
  11. license=('BSD')
  12. depends=('python>=3.1' 'libmysqlclient')
  13. makedepends=('setuptools' 'cython')
  14. source=(http://launchpad.net/oursql/py3k/py3k-$pkgver/+download/oursql-$pkgver.zip)
  15.  
  16. build() {
  17.         cd "$srcdir/oursql-$pkgver"
  18.         rm "oursqlx/oursql.c"
  19.         python setup.py install --root="$pkgdir" --prefix=/usr
  20. }
  21.  
  22. md5sums=('1c19d9ecbfc96e071f6da463a0fc9109')