summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 100af68271a88e6074c75a4882966343010d4c24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Michael Schubert <mschu.dev at gmail>
pkgname=libnuml
_pkgname=NuML
pkgver=1.1.1
pkgrel=1
pkgdesc="Numerical Markup Language (NuML) for exchange and archiving of numerical results"
url="https://github.com/NuML/NuML"
license=('LGPL')
arch=('i686' 'x86_64')
depends=('libsbml')
source=("https://github.com/NuML/NuML/archive/v$pkgver.tar.gz")
md5sums=('dfdc6d008afd032d395e40788e9553dc')

build() {
  cd "$srcdir/$_pkgname-$pkgver"
  cmake $pkgname
  make
}

package() {
  cd "$srcdir"/build
  DESTDIR="$pkgdir" cmake -DCMAKE_INSTALL_PREFIX=/usr -P cmake_install.cmake
}