blob: 83e5a7c66735d0e6d07257d4647afd177187fdbf (
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
|
# OpenSPH package
# Maintainer: Pavel Sevecek <sevecek at sirrah.troja.mff.cuni.cz>
pkgname=opensph
pkgver=0.1
pkgrel=1
pkgdesc="Smoothed particle hydrodynamics library and visualization tools."
arch=('i686' 'x86_64')
url="https://gitlab.com/sevecekp/sph"
license=('MIT')
depends=('wxgtk2'
'intel-tbb')
makedepends=('gcc>=7.0.0'
'qt5-base')
source=("git+https://gitlab.com/sevecekp/sph.git")
md5sums=('SKIP')
prepare() {
cd "${srcdir}/sph"
git checkout devel
}
build() {
mkdir -p build
cd build
qmake CONFIG+=release -spec linux-g++ ${srcdir}/sph/sph.pro
make
}
package() {
install -D build/cli/launcher/launcher $pkgdir/usr/bin/opensph-cli
install -D build/gui/launcherGui/launcherGui $pkgdir/usr/bin/opensph
}
|