summaryrefslogtreecommitdiff
path: root/community/libghemical/PKGBUILD
blob: cf0a8df0f3d95c6e1c264ed24ab5ff746623b622 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# $Id: PKGBUILD 13759 2010-03-27 17:00:03Z xyne $
# Maintainer: Abhishek Dasgupta <abhidg@gmail.com>
# Contributor: Abhishek Dasgupta <abhidg@gmail.com>

pkgname=libghemical
pkgver=2.99.1
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' 'intltool>=0.40.0')
options=(!libtool)
source=(http://bioinformatics.org/ghemical/download/current/${pkgname}-${pkgver}.tar.gz sasaeval.diff)
md5sums=('d2dae2d7d786d3cba335cb29d85033ea'
         '4c520ded165acc14b5477a55541554ef')

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
}