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 --- extra/openbabel/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 extra/openbabel/PKGBUILD (limited to 'extra/openbabel') diff --git a/extra/openbabel/PKGBUILD b/extra/openbabel/PKGBUILD new file mode 100644 index 000000000..a265af7a1 --- /dev/null +++ b/extra/openbabel/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 99851 2010-11-18 20:52:23Z andrea $ +# Maintainer: Andrea Scarpino +# Contributor: Damir Perisa + +pkgname=openbabel +pkgver=2.3.0 +pkgrel=3 +pkgdesc="A library designed to interconvert between many file formats used in \ +molecular modeling and computational chemistry" +arch=('i686' 'x86_64') +url="http://openbabel.org/wiki/Main_Page" +license=('GPL') +depends=('gcc-libs' 'libxml2') +makedepends=('cmake' 'eigen' 'wxgtk') +optdepends=('eigen: to use bindings' + 'wxgtk: GUI interface') +options=('!libtool') +source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz") +md5sums=('effda01ed4a31d18d8e3d08191799608') + +build() { + cd ${srcdir} + mkdir build + cd build + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd ${srcdir}/build + make DESTDIR=${pkgdir} install +} -- cgit v1.2.3-54-g00ecf