summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9068d4f1d35671abd03cfe1f94492857cdaba824 (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
# Maintainer: Michael Schubert <mschu.dev at gmail>

pkgname=libsbml
_pkgname=libSBML
pkgver=5.13.0
pkgrel=1
pkgdesc="XML-based description language for computational models in systems biology"
url="http://sbml.org/Software/libSBML"
license=('LGPL')
arch=('i686' 'x86_64')
depends=('libxml2')
optdepends=('bzip2' 'python2' 'perl' 'ruby' 'java-runtime' 'octave' 'mono')
makedepends=('swig' 'python2' 'perl' 'java-environment')
options=('!libtool')
source=("http://sourceforge.net/projects/sbml/files/libsbml/$pkgver/stable/$_pkgname-$pkgver-core-plus-packages-src.tar.gz")
md5sums=('bd9d7284a7133f91f06d07547a6ce179')

build() {
  cd "$srcdir/$_pkgname-$pkgver-Source"

  ./configure --prefix=/usr \
      --with-python=yes --with-python-interpreter=/usr/bin/python2 \
      --with-java=no \
      --with-perl=yes \
      --with-octave=no \
      --with-csharp=no \
      --with-ruby=no \
      --with-matlab=no

  make
}

package() {
  cd "$srcdir/$_pkgname-$pkgver-Source"
  make DESTDIR="$pkgdir" install
}