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

27 lines
889 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Abhishek Dasgupta <abhidg@gmail.com>
# Contributor: Ricardo <rikardo.horo@gmail.com>
pkgname=gromacs
pkgver=4.0.5
pkgrel=1
pkgdesc="A fast Molecular Dynamics program based on the GROMOS force field"
url="http://www.gromacs.org/"
license=("GPL")
arch=(i686 x86_64)
depends=('fftw' 'lesstif' 'perl' 'libxml2' 'libsm' 'libx11')
options=(!libtool)
install=$pkgname.install
source=(ftp://ftp.gromacs.org/pub/gromacs/$pkgname-$pkgver.tar.gz)
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr --enable-shared
make || return 1
make DESTDIR="$pkgdir" install
install -d "$pkgdir/usr/share/gromacs/shell-specific"
mv $pkgdir/usr/bin/GMXRC* "$pkgdir/usr/share/gromacs/shell-specific"
mv $pkgdir/usr/bin/completion* "$pkgdir/usr/share/gromacs/shell-specific"
}
md5sums=('2db2261852a4d3a97547979f379dee94')