blob: 1f100de46460374f8313354cb8b01de48e0fe252 (
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
|
# PKGBUILD template to install Espresso
# Maintainer: Hector Martinez-Seara Monne <hseara ##[at]## gmail?com>
pkgname=(votca-csg)
pkgver=1.4.1
pkgrel=1
pkgdesc="Versatile Object-oriented Toolkit for Coarse-graining Applications (VOTCA) is a package intended to reduce the amount of routine work when doing systematic coarse-graining of various systems."
url="http://www.votca.org/"
license=("Apache")
arch=(i686 x86_64)
depends=('python' 'votca-tools' 'txt2tags')
optdepends=('python2-espressopp')
makedepends=('cmake' 'doxygen')
source=(https://github.com/votca/csg/archive/v${pkgver}.tar.gz)
sha1sums=('034744bdf0f08163d9dd53208d601e4d5a0f316b')
build() {
source /etc/profile.d/GMXRC.bash
msg2 "Building votca-csg"
#Real Configuration
mkdir -p ${srcdir}/build
cd ${srcdir}/build
cmake ../csg-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DWITH_RC_FILES=OFF \
-DEXTERNAL_BOOST=ON
# -DWITH_GMX_DEVEL=ON
make
}
package() {
source /etc/profile.d/GMXRC.bash
msg2 "Making executables"
cd ${srcdir}/build
make DESTDIR=${pkgdir} install
}
|