PKGBUILDs/community/python-openbabel/PKGBUILD

22 lines
653 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Andrea Scarpino <bash.lnx@gmail.com>
# Contributor: Michal Bozon <bozonm@vscht.cz>
pkgname=python-openbabel
pkgver=2.2.1
pkgrel=1
pkgdesc="Python bindings of openbabel library"
arch=('i686' 'x86_64')
url="http://openbabel.org/wiki/Python"
license=('GPL')
depends=('libxml2' 'python' 'openbabel')
makedepends=('swig')
options=('!libtool')
source=(http://downloads.sourceforge.net/openbabel/openbabel-$pkgver.tar.gz)
md5sums=('1c9cc42bb212aef3b6e50c00460b2fe6')
build() {
cd ${srcdir}/openbabel-$pkgver/scripts/python
python setup.py install --prefix=/usr --root=${pkgdir} || return 1
}