summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a1c1ec2594ef7a95f301ffd6b5a4072827b3fcbf (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
# PKGBUILD template to install Espresso 
# Maintainer: Hector Martinez-Seara Monne <hseara ##[at]## gmail?com>

pkgname=(votca-tools)
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. (LIBRARY)"
url="http://www.votca.org/"
license=("Apache")
arch=(i686 x86_64)
depends=('fftw' 'boost' 'sqlite' 'gsl' 'expat')
optdepends=()
makedepends=('cmake' 'doxygen')
source=(
https://github.com/votca/tools/archive/v${pkgver}.tar.gz
)
sha1sums=('675a40678248b0ff90bf44663eeeea6ac0e5f9ed')

build() {
  msg2 "Building votca-tools"
  #Real Configuration
  mkdir -p ${srcdir}/build
  cd ${srcdir}/build
  cmake ../tools-${pkgver} \
         -DCMAKE_INSTALL_PREFIX=/usr \
         -DWITH_RC_FILES=OFF \
         -DEXTERNAL_BOOST=ON 
  make
}

package() {
  msg2 "Making executables"
  cd ${srcdir}/build
  make DESTDIR=${pkgdir} install
}