summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: dcc3feb3799c557e33d870567bf097101a766c77 (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
pkgname=revbayes
pkgver=1.2.5
pkgrel=1
pkgdesc="Bayesian Phylogenetic Inference Using Graphical Models and an Interactive Model-Specification Language https://doi.org/10.1093/sysbio/syw021"
arch=(x86_64)
url="https://github.com/revbayes/revbayes"
license=(GPL3)
depends=('gcc-libs' 'boost-libs' 'openlibm')
makedepends=('boost' 'meson' 'ninja' 'cmake' 'git')
source=("git+$url.git#tag=v$pkgver"
	"rb.patch")
conflicts=('lrzsz' 'revbayes-mpi')
md5sums=('c9d6f55cf1b92ccb914214b4534af3e2'
         'f5af0159704f049f8269584883bcaa80')

prepare() {
  cd $srcdir/$pkgname
  git submodule update --init --recursive
  ./projects/meson/generate.sh
}

build() {
  cd $srcdir/$pkgname
  arch-meson build \
  --buildtype      release \
  -Dmpi=false
  ninja -C build
}

package() {
  cd $srcdir/$pkgname
  DESTDIR="${pkgdir}" ninja -C build install
}