summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 252478e3e107a6c5021290a6d222503e0e0f799a (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
45
# Maintainer: Dimitris Kiziridis <ragouel at outlook dot com>

pkgname=dseams-git
pkgver=1.0.0.r14.g333cc82
pkgrel=1
pkgdesc="Deferred Structural Elucidation Analysis for Molecular Simulations"
arch=('x86_64')
url='https://dseams.info'
license=('GPL3')
provides=("${pkgname%-git}")
depends=('fmt'
         'yaml-cpp'
         'lua'
         'gsl')
makedepends=('boost'
             'blas'
             'editline'
             'lapack'
             'rang'
             'catch2')
source=("dseams::git+https://github.com/d-SEAMS/seams-core")
sha256sums=('SKIP')

pkgver() {
  cd "${srcdir}/dseams"
  git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

prepare() {
  cd "${srcdir}/dseams"
  rm -rf build
  mkdir build
  cd build
  cmake -DCMAKE_INSTALL_PREFIX=/usr ..
}

build() {
  cd "${srcdir}/dseams/build"
  make
}

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