blob: 8c9f73c9081892abfcb07a84d01cf2d01329e58c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# $Id: PKGBUILD 32948 2010-11-20 08:38:00Z kchen $
# Maintainer:
# Contributor: Andrea Scarpino <bash.lnx@gmail.com>
# Contributor: Michal Bozon <bozonm@vscht.cz>
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}
}
|