1 # Contributor: Eduardo Martins Lopes < edumlopes at gmail dot com >
6 pkgdesc="A software for evaluating the electrostatic properties of nanoscale biomolecular systems"
8 url="http://g95.sourceforge.net"
10 depends=('blas' 'lapack' 'gcc-libs' )
19 if [ "$CARCH" = "i686" ]; then
22 source=(http://ufpr.dl.sourceforge.net/project/apbs/apbs/apbs-$pkgver$pkgrel/apbs-$pkgver$pkgrel-ia32.tar.gz http://ufpr.dl.sourceforge.net/project/pdb2pqr/pdb2pqr/pdb2pqr-$_pdbver/pdb2pqr-$_pdbver.tar.gz)
23 md5sums=('fb30ecae83bd4a42bc36e18987ee5648' '6d265727bf794c985815cdfd1c3ea8a5')
26 if [ "$CARCH" = "x86_64" ]; then
28 source=(http://ufpr.dl.sourceforge.net/project/apbs/apbs/apbs-$pkgver$pkgrel/apbs-$pkgver$pkgrel-amd64.tar.gz http://ufpr.dl.sourceforge.net/project/pdb2pqr/pdb2pqr/pdb2pqr-$_pdbver/pdb2pqr-$_pdbver.tar.gz)
29 md5sums=('4e8e6c0fc9b60212cef0d2a442d58b61' '6d265727bf794c985815cdfd1c3ea8a5')
34 mkdir -p $pkgdir/var/www/html/pdb2pqr
36 cp -r $srcdir/apbs-$pkgver-$_arch/* $startdir/pkg/usr/
38 cd $srcdir/pdb2pqr-$_pdbver
39 ./configure --prefix=$startdir/pkg/usr --with-python=/usr/bin/python2.7 --localstatedir=$pkgdir
42 ln -s $pkgdir/usr $pkgdir/var/www/html/pdb2pqr