From 415856bdd4f48ab4f2732996f0bae58595092bbe Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 5 Apr 2011 14:26:38 +0000 Subject: Tue Apr 5 14:26:38 UTC 2011 --- community/python2-openbabel/PKGBUILD | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 community/python2-openbabel/PKGBUILD (limited to 'community/python2-openbabel') diff --git a/community/python2-openbabel/PKGBUILD b/community/python2-openbabel/PKGBUILD new file mode 100644 index 000000000..8c9f73c90 --- /dev/null +++ b/community/python2-openbabel/PKGBUILD @@ -0,0 +1,23 @@ +# $Id: PKGBUILD 32948 2010-11-20 08:38:00Z kchen $ +# Maintainer: +# Contributor: Andrea Scarpino +# Contributor: Michal Bozon + +pkgname=python2-openbabel +pkgver=2.3.0 +pkgrel=2 +pkgdesc="Python 2 bindings of openbabel library" +arch=('i686' 'x86_64') +url="http://openbabel.org/wiki/Python" +license=('GPL') +depends=('python2' 'gcc-libs' "openbabel=${pkgver}" 'eigen') +makedepends=('swig') +options=('!libtool') +source=(http://downloads.sourceforge.net/openbabel/openbabel-$pkgver.tar.gz) +md5sums=('effda01ed4a31d18d8e3d08191799608') + +build() { + cd ${srcdir}/openbabel-$pkgver/scripts/python + sed -i '19i os.path.join("/usr/include/openbabel-2.0"),' setup.py + python2 setup.py install --prefix=/usr --root=${pkgdir} +} -- cgit v1.2.3-54-g00ecf