summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 680caa985c7615a885905a0b6b29d6eb28900698 (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
pkgname=muq
pkgver=2
pkgrel=1
pkgdesc="MIT Uncertainty Quantification Library"
license=('MIT')
arch=('x86_64')
url="http://muq.mit.edu/"
depends=('boost-libs' 'nlopt' 'python' 'sundials' 'nlopt')
makedepends=('cmake' 'eigen' 'nanoflann')
source=("git+https://bitbucket.org/mituq/muq2.git")
sha256sums=(SKIP)

prepare() {
  cd muq2 
}

build() {
  cd muq2
  cmake -DCMAKE_INSTALL_PREFIX=/usr \
        -DCMAKE_SKIP_INSTALL_RPATH=ON \
        .
  make
}

package() {
  cd muq2
  make DESTDIR="$pkgdir" install
}