diff options
author | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2011-09-19 11:59:33 -0500 |
---|---|---|
committer | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2011-09-19 11:59:33 -0500 |
commit | e40531aab32ff93b1f9da20d8a43a440d8dffaca (patch) | |
tree | 837260c74cb8eef56e640ee52b2e329e13719276 /community/python2-openbabel/PKGBUILD | |
parent | 6fab33c9210eaa90d0a0179f7e49c339ea88990f (diff) | |
parent | 171f25215eee368fe64f1eed02ce49de090f4b0d (diff) |
Merge branch 'master' of gitpar:abslibre-mips64el
Diffstat (limited to 'community/python2-openbabel/PKGBUILD')
-rw-r--r-- | community/python2-openbabel/PKGBUILD | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/community/python2-openbabel/PKGBUILD b/community/python2-openbabel/PKGBUILD index 94d84accc..6ca534313 100644 --- a/community/python2-openbabel/PKGBUILD +++ b/community/python2-openbabel/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 32948 2010-11-20 08:38:00Z kchen $ -# Maintainer: -# Contributor: Andrea Scarpino <bash.lnx@gmail.com> +# $Id: PKGBUILD 57091 2011-10-21 05:24:19Z kchen $ +# Maintainer: Kaiting Chen <kaitocracy@gmail.com> +# Contributor: Andrea Scarpino <andrea@archlinux.org> # Contributor: Michal Bozon <bozonm@vscht.cz> pkgname=python2-openbabel -pkgver=2.3.0 -pkgrel=2 +pkgver=2.3.1 +pkgrel=1 pkgdesc="Python 2 bindings of openbabel library" arch=('i686' 'x86_64' 'mips64el') url="http://openbabel.org/wiki/Python" @@ -14,10 +14,11 @@ depends=('python2' 'gcc-libs' "openbabel=${pkgver}" 'eigen') makedepends=('swig') options=('!libtool') source=(http://downloads.sourceforge.net/openbabel/openbabel-$pkgver.tar.gz) -md5sums=('effda01ed4a31d18d8e3d08191799608') +md5sums=('1f029b0add12a3b55582dc2c832b04f8') -build() { +package() { cd ${srcdir}/openbabel-$pkgver/scripts/python sed -i '19i os.path.join("/usr/include/openbabel-2.0"),' setup.py + sed -i '20i os.path.join("/usr/include/eigen2"),' setup.py python2 setup.py install --prefix=/usr --root=${pkgdir} } |