blob: 60bd4ce5143723d532f0337453aa0c95fe0b3721 (
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
46
47
48
49
|
# Maintainer : talleyhoe <talleyhoe at protonmail dot com>
# Contributor: Erhad Husovic
pkgname='cadabra2-git'
pkgver=2.3.9.3
pkgrel=1
pkgdesc="A computer algebra system (pre-release version) designed specifically for the solution of problems encountered in field theory."
arch=('x86_64')
url="http://cadabra.science/"
license=('GPL')
conflicts=('cadabra2')
depends=(
'boost-libs'
'glibmm'
'gmp'
'gtkmm3'
'jsoncpp'
'mathjax'
'pcre'
'python-ipykernel'
'python-matplotlib'
'python-sympy'
'texlive-latexextra'
'texlive-science'
)
makedepends=(
'git'
'boost'
'cmake'
)
source=("git+https://github.com/kpeeters/cadabra2.git")
sha256sums=('SKIP')
build() {
cd "$srcdir/cadabra2"
mkdir -p build
cd build
cmake -DCMAKE_SKIP_RPATH=true -DCMAKE_INSTALL_PREFIX=/usr ..
make
}
check() {
cd "$srcdir/cadabra2/build"
make test
}
package() {
cd "$srcdir/cadabra2/build"
make DESTDIR="${pkgdir}" install
}
|