PKGBUILDs/community/libghemical/PKGBUILD
2009-10-09 21:15:33 -05:00

25 lines
838 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Abhishek Dasgupta <abhidg@gmail.com>
# Contributor: Abhishek Dasgupta <abhidg@gmail.com>
pkgname=libghemical
pkgver=2.98
pkgrel=1
pkgdesc="Library containing computational chemistry facility of ghemical"
license=("GPL")
arch=(i686 x86_64)
url="http://bioinformatics.org/ghemical/libghemical/"
depends=('gcc-libs')
makedepends=('openbabel')
options=(!libtool)
source=(http://bioinformatics.org/ghemical/download/current/${pkgname}-${pkgver}.tar.gz sasaeval.diff)
build() {
cd ${startdir}/src/${pkgname}-${pkgver}/
patch -p1 -i ${srcdir}/sasaeval.diff || return 1
./configure --prefix=/usr --enable-openbabel
make || return 1
make DESTDIR=${startdir}/pkg install || return 1
}
md5sums=('9ca4a60ba9b98f3c5003ee2e1a0ffeb0'
'4c520ded165acc14b5477a55541554ef')