blob: 3135ac5759a34214d786aab53a033127f42ffb6c (
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
|
# Contributor: Martin Grønlien Pejcoch <mpejcoch@gmail.com>
pkgname=ecflow4
pkgver=4.17.1
pkgrel=1
pkgdesc="ecFlow 4 - workflow manager from ECMWF"
arch=(i686 x86_64)
url="https://confluence.ecmwf.int/display/ECFLOW"
license=('APACHE 2.0')
groups=(science)
depends=(qt5-base qt5-charts qt5-svg python git)
makedepends=(cmake boost)
provides=()
conflicts=(ecflow)
replaces=()
backup=()
options=()
install=
source=(https://software.ecmwf.int/wiki/download/attachments/8650755/ecFlow-${pkgver}-Source.tar.gz)
noextract=()
sha256sums=('8d5dc7b50661896870322854e7b5c24ff7256c4bf162c76265610013c83881ce')
prepare() {
cd ecFlow-${pkgver}-Source
}
build() {
cd ecFlow-${pkgver}-Source
mkdir -p build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CXX_FLAGS=-w -DENABLE_SERVER=on -DENABLE_PYTHON=on -DENABLE_UI=on -DENABLE_GUI=off \
-DCMAKE_INSTALL_DATADIR=/usr/share \
-DBOOST_ROOT=/usr \
..
make -j$(grep processor /proc/cpuinfo | wc -l) || return 1
}
package()
{
cd ecFlow-${pkgver}-Source/build
make DESTDIR="$pkgdir" install || return 1
}
# vim:set ts=2 sw=2 et:
|