diff options
author | Viktor Drobot | 2020-01-27 15:49:16 +0300 |
---|---|---|
committer | Viktor Drobot | 2020-01-27 15:49:16 +0300 |
commit | 96447d355b0f03fa837a1600bccd5e1fb04d10ba (patch) | |
tree | 4af1fc3cff186c5959f40dfbb5be1ee928162d45 /PKGBUILD | |
parent | f648650d4de458329dda6110336a9e8bba201491 (diff) | |
download | aur-96447d355b0f03fa837a1600bccd5e1fb04d10ba.tar.gz |
Update 2.6.0
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 28 |
1 files changed, 17 insertions, 11 deletions
@@ -1,7 +1,7 @@ # Maintainer: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com pkgname=plumed-mpi -pkgver=2.5.3 +pkgver=2.6.0 pkgrel=1 pkgdesc="An open source plugin for free energy calculations in molecular systems which works together with some of the most popular molecular dynamics engines (with MPI support)" url="http://www.plumed.org/" @@ -12,26 +12,32 @@ optdepends=('vmd-molfile-plugins: add capability to read vmd compatible trajecto 'xdrfile: GROMACS trajectory format support' 'python-setuptools: Python module support' 'cython: Python module support' - 'graphviz: diagrams in manual') + 'graphviz: diagrams in manual' + 'gawk: partial tempering support') makedepends=('vim') -source=( https://github.com/plumed/plumed2/releases/download/v${pkgver}/plumed-${pkgver}.tgz) -sha1sums=('9ec02170495409dc8a5f38ab0c3270b66035e7ae') +source=(https://github.com/plumed/plumed2/releases/download/v${pkgver}/plumed-${pkgver}.tgz) +sha1sums=('aa9e0eb5ff85a778f0ac4c0637e10a499f36b107') -# Extend support for trajectory analysis to formats understood by vmd (thx hseara!) -if [ -d "/usr/lib/vmd-molfile-plugins" ]; then - msg2 "Adding vmd-molfile plugin support" - LDFLAGS+=" -L/usr/lib/vmd-molfile-plugins -lnetcdf" - CPPFLAGS+=" -I/usr/include/vmd-molfile-plugins" -fi +prepare() { + # Extend support for trajectory analysis to formats understood by vmd (thx hseara!) + + if [ -d "/usr/lib/vmd-molfile-plugins" ]; then + msg2 "Adding vmd-molfile plugin support" + export LDFLAGS="$LDFLAGS -L/usr/lib/vmd-molfile-plugins -lnetcdf" + export CPPFLAGS="$CPPFLAGS -I/usr/include/vmd-molfile-plugins" + fi +} build() { cd ${srcdir}/${pkgname%-mpi}-${pkgver} - ./configure --prefix=/usr --enable-mpi --program-suffix=-mpi + + ./configure --prefix=/usr --enable-mpi --enable-asmjit --program-suffix=-mpi make } package() { cd ${srcdir}/${pkgname%-mpi}-${pkgver} + make DESTDIR=${pkgdir} install } |