1 # Maintainer: Michael Schubert <mschu.dev at gmail>
7 pkgdesc="XML-based description language for computational models in systems biology"
8 url="http://sbml.org/Software/libSBML"
10 arch=('i686' 'x86_64')
11 depends=('gcc-libs' 'libxml2' 'python2' 'perl' 'ruby' 'java-runtime')
12 optdepends=('bzip2' 'octave' 'mono')
15 md5sums=('23c7a891f988984948d9977b405c1da3')
16 source=("http://downloads.sourceforge.net/project/sbml/$pkgname/$pkgver/stable/$_pkgname-$pkgver-src.tar.gz")
19 mkdir -p "$srcdir/build" && cd "$srcdir/build"
21 cmake -DCMAKE_BUILD_TYPE=release -DWITH_PYTHON=1 -DWITH_JAVA=1 \
22 -DWITH_OCTAVE=0 -DWITH_CSHARP=0 -DWITH_PERL=1 -DWITH_RUBY=1 \
23 -DWITH_MATLAB=0 -DCMAKE_INSTALL_PREFIX=/usr "../$pkgname-$pkgver"
25 find . -name "build.make" | xargs sed -i "s:/usr/bin/python:/usr/bin/python2:"
31 make DESTDIR="$pkgdir" install