summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2d67b7083c78cfab451e79bf9c38f1ccc1e47ec8 (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
# Maintainer: Sascha Wunderlich <archlinux at saschawunderlich dot de>
pkgname=stormchecker
pkgver=1.3.0
pkgrel=1
pkgdesc="Storm is a tool for the analysis of systems involving random or probabilistic phenomena"
arch=(i686 x86_64)
url="http://www.stormchecker.org/"
license=('GPL3')
groups=()
conflicts=('stormchecker')
provides=('stormchecker')
# TODO: mathsat?
# TODO: sylvan is always shipped at the moment
# TODO: carl hides some dependencies here
depends=(glpk hwloc xerces-c z3 carl-master14-git)
makedepends=(cmake)
source=("https://github.com/moves-rwth/storm/archive/$pkgver.tar.gz")
md5sums=('894ae6d2addff46380bf640f61bbf92c')

build() {
  cd "storm-$pkgver"
  rm -rf build/
  
  mkdir build
  cd build

  cmake -DCMAKE_BUILD_TYPE=Release \
	-DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib \
	..

  make binaries
}

package() {
  cd "storm-$pkgver"/build
  make DESTDIR="$pkgdir/" install/fast
}