summaryrefslogtreecommitdiff
path: root/community/libghemical/PKGBUILD
blob: c94b7e3001a358b2c8346265c5a92d8ffaeecf4d (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
26
# Maintainer: Xyne <ac xunilhcra enyx, backwards>
# Contributor: Abhishek Dasgupta <abhidg@gmail.com>

pkgname=libghemical
pkgver=3.0.0
pkgrel=1
pkgdesc="Library containing computational chemistry facility of ghemical"
license=("GPL")
arch=(i686 x86_64 'mips64el')
url="http://bioinformatics.org/ghemical/libghemical/"
depends=('gcc-libs')
makedepends=('openbabel' 'intltool>=0.40.0')
options=(!libtool)
source=(http://bioinformatics.org/ghemical/download/release20111012/${pkgname}-${pkgver}.tar.gz)
md5sums=('1d5c9c19bb119470d2bb41a7e681eafd')

build() {
  cd -- "$srcdir/$pkgname-$pkgver/"
  ./configure --prefix=/usr --enable-openbabel
  make
}

package() {
  cd -- "$srcdir/$pkgname-$pkgver/"
  make DESTDIR="$pkgdir" install
}