blob: 4eb5f09ecfeed9f41861ad736f1af763eafcd0ab (
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
50
51
|
# Maintainer: Ross Whitfield <whitfieldre@ornl.gov>
# Contributor: Harry Jeffery <harry|@|exec64|.|co|.|uk>
pkgname=mantid
pkgver=3.10.1
pkgrel=1
pkgdesc="Data analysis toolkit for neutron based instrument data"
url="http://www.mantidproject.org/"
arch=('x86_64' 'i686')
license=('GPL')
depends=(
'libnexus'
'qwt5'
'qwtplot3d'
'qscintilla'
'boost'
'poco'
'muparser'
'qtwebkit'
'jsoncpp'
'ipython2'
'python2'
'python2-numpy'
'python2-pyqt4'
'python2-pyzmq'
'python2-scipy'
'python2-sip'
'hdf5'
'gsl'
)
makedepends=('cmake')
source=("$pkgname::git+https://github.com/mantidproject/mantid.git#tag=v${pkgver}"
"https://github.com/mantidproject/mantid/pull/19889.patch")
sha1sums=('SKIP'
'cf774c353e3487a9770eeb7652dc87abb66c56f4')
build() {
cd "${srcdir}/mantid"
patch -p1 -i "${srcdir}/19889.patch"
mkdir -p "${srcdir}/build"
cd "${srcdir}/build"
cmake -DPYTHON_EXECUTABLE=/usr/bin/python2 \
-DCMAKE_CXX_VISIBILITY_PRESET=default \
"${srcdir}/mantid"
make
}
package() {
cd "${srcdir}/build"
make DESTDIR="${pkgdir}" install
}
|