Skip to content

Instantly share code, notes, and snippets.

@MasWag
Created June 3, 2020 03:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MasWag/ca872654ac8b0300a9fb77774872fffc to your computer and use it in GitHub Desktop.
Save MasWag/ca872654ac8b0300a9fb77774872fffc to your computer and use it in GitHub Desktop.
PKGBUILD for Storm (https://www.stormchecker.org/)
# Maintainer: Sascha Wunderlich <archlinux at saschawunderlich dot de>
# Contributor: Masaki Waga <masakiwaga at gmail dot com>
pkgname=stormchecker
pkgver=1.5.1
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=('a48157476c574340d4a6e516db830fae')
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
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment