blob: ce8a11c4390ffa5166a6b7be2a2cce1c207390ec (
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
52
53
|
# Maintainer:
# Contributor: Daniel Landau <aur@landau.fi>
_pkgname="qcsxcad"
pkgname="$_pkgname"
pkgver=0.6.3
pkgrel=1
pkgdesc="Qt-GUI for CSXCAD"
arch=("x86_64")
url="https://github.com/thliebig/QCSXCAD"
license=("LGPL-3.0-or-later")
depends=(
'qt5-base'
'tinyxml'
'vtk'
## AUR
'csxcad'
)
makedepends=(
'cmake'
'fast_float'
'fmt'
'glew'
'ninja'
'nlohmann-json'
'openmpi'
'verdict'
)
_pkgsrc="QCSXCAD-$pkgver"
_pkgext="tar.gz"
source=("$_pkgname-$pkgver.$_pkgext"::"$url/archive/v$pkgver.$_pkgext")
sha256sums=('f05edbcca65f0bf8a3fb6ab20baa3db0b8651c2baab2f6a3f0113436c866f879')
build() {
local _cmake_options=(
-B build
-S "$_pkgsrc"
-G Ninja
-DCMAKE_BUILD_TYPE=None
-DCMAKE_INSTALL_PREFIX='/usr'
-Wno-dev
)
cmake "${_cmake_options[@]}"
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
|