desktop/openbabel/PKGBUILD

29 lines
792 B
Bash
Raw Normal View History

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