blob: 56c38030dd5768a26f82ba242f23778594e51215 (
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
|
# Maintainer: Andrea Manenti <andrea [dot] manenti [at] yahoo [dot] com>
pkgname=sdpb-git
pkgver=1512.80746b8
pkgrel=1
pkgdesc="Semidefinite program solver designed for the conformal bootstrap"
arch=(x86_64)
license=('MIT')
url="https://arxiv.org/abs/1909.09745"
depends=('boost' 'libxml2' 'rapidjson' 'elemental-gmp-git')
optdepends=('openmpi')
makedepends=('git' 'python')
source=('git+https://github.com/davidsd/sdpb.git')
pkgver() {
cd "$srcdir"/sdpb
echo `git rev-list --count master`.`git rev-parse --short master`
}
build () {
cd "$srcdir"/sdpb
python waf configure --elemental-dir="$pkgdir"/usr
python waf
}
package() {
cd "$srcdir"/sdpb/build
for bin_name in sdp2functions spectrum pvm2functions sdp2input sdpb approx_objective outer_limits pvm2sdp
do
install -vDm 755 "$bin_name" "$pkgdir"/usr/bin/"$bin_name"
done
}
sha256sums=('SKIP')
|