pkgname=openbabel pkgver=2.4.1 pkgrel=2 pkgdesc="Open, collaborative project allowing anyone to search, convert, analyze, or store data from molecular modeling, chemistry, solid-state materials, biochemistry, or related areas" arch=('x86_64') url="http://openbabel.org/wiki/Main_Page" license=('GPL') depends=('gcc-libs' 'libxml2' 'libsm') makedepends=('cmake' 'eigen3' 'boost' 'python3') options=('!libtool') source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz") md5sums=('d9defcd7830b0592fece4fe54a137b99') build() { cd "${srcdir}" mkdir build cd build cmake ../${pkgname}-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DPYTHON_BINDINGS=ON make } package() { cd "${srcdir}/build" make DESTDIR="${pkgdir}" install }