blob: e895598bc300b275cd96eaad30c14c2cb79aec26 (
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
|
# Maintainer: Andrea Manenti <andrea [dot] manenti [at] yahoo [dot] com>
pkgname=scalar_blocks-git
pkgver=259.c8130c5
pkgrel=1
pkgdesc="Algorithm for computing numerical derivatives of scalar conformal blocks"
arch=(x86_64)
license=('MIT')
url="https://gitlab.com/bootstrapcollaboration/scalar_blocks"
depends=('trilinos-sacado' 'eigen' 'gmp')
makedepends=('git' 'python')
source=('git+https://gitlab.com/bootstrapcollaboration/scalar_blocks.git')
sha256sums=('SKIP')
pkgver() {
cd "$srcdir"/scalar_blocks
echo `git rev-list --count master`.`git rev-parse --short master`
}
build () {
cd "$srcdir"/scalar_blocks
if command -v mpicxx &> /dev/null
then
export CXX=mpicxx
export CC=mpicc
fi
python waf configure --prefix=/usr --trilinos-dir=/usr
python waf
}
package() {
cd "$srcdir"/scalar_blocks/build
install -vDm 755 scalar_blocks "$pkgdir"/usr/bin/scalar_blocks
}
|