pkgbuild/libghemical-mpqc/PKGBUILD
2013-09-11 01:27:20 +04:00

32 lines
959 B
Bash

# Maintainer Evgeniy Alexeev <esalexeev@gmail.com>
# Contributor: Xyne <ac xunilhcra enyx, backwards>
# Contributor: Abhishek Dasgupta <abhidg@gmail.com>
pkgname=libghemical-mpqc
_pkgname=libghemical
pkgver=3.0.0
pkgrel=1
pkgdesc='Library containing computational chemistry facility of ghemical. Version with enabled mpqc and mopac7'
license=('GPL')
arch=('x86_64' 'i686')
url='http://bioinformatics.org/ghemical/libghemical/'
depends=('gcc-libs' 'mopac7' 'mpqc-shared')
makedepends=('openbabel' 'intltool>=0.40.0')
conflicts=('libghemical')
provides=('libghemical')
replaces=('libghemical')
source=(http://bioinformatics.org/ghemical/download/release20111012/${_pkgname}-${pkgver}.tar.gz)
md5sums=('1d5c9c19bb119470d2bb41a7e681eafd')
build()
{
cd ${srcdir}/${_pkgname}-${pkgver}
./configure --prefix=/usr --enable-openbabel --enable-mpqc --enable-mopac7
make -j3
}
package() {
cd ${srcdir}/${_pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
}