blob: 7c66e57e3a7187a203ade9ef0611951015c2dbbe (
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# PKGBUILD template to install Espresso
# Maintainer: Hector Martinez-Seara Monne <hseara ##[at]## gmail?com>
pkgname=plumed
pkgver=2.9.2
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."
url="http://www.plumed.org/"
license=("LGPL-3.0-only")
arch=("x86_64")
depends=('lapack' 'zlib' 'gsl' 'netcdf')
optdepends=('vmd-molfile-plugins: Add capability to read vmd compatible trajectories')
makedepends=('vim')
provides=('plumed')
#install=$pkgname.install
source=( https://github.com/plumed/plumed2/releases/download/v${pkgver}/plumed-${pkgver}.tgz)
sha256sums=('6fc23fe31074ad6b7a0eb9e2441fce5b3d92514d0d87206594c59c75e4c83d6e')
#options=(!buildflags)
#Using gcc13 as compiler due to linking problems with cuda
#export CC=gcc-13
#export CXX=g++-13
# Extend support for trajectory analysis to formats undestood by vmd
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
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr --disable-mpi
make
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
}
### Please Remember to set the following environment variable ###
# PLUMED_KERNEL=/usr/lib/libplumedKernel.so"
|