1 # Contributor: Michael Kapelko <kornerr@gmail.com>
2 # Contributor: Angelo Theodorou <encelo@users.sourceforge.net>
6 pkgdesc="Python extension module that allows access to Oracle databases"
8 url=('http://cx-oracle.sourceforge.net/')
10 depends=('python2' 'instantclient-sdk')
11 source=(http://downloads.sourceforge.net/cx-oracle/cx_Oracle-$pkgver.tar.gz)
12 md5sums=('ac7949c41392459f187cadf65907c97b')
15 cd $srcdir/cx_Oracle-$pkgver
16 ORACLE_HOME=/opt/instantclient python2 setup.py install --root=$pkgdir || return 1
18 install -D -m 644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE