summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a12c7a48b3ec25cfdced88020f837b681d34dced (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.4
pkgrel=2
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=('34300da96ccf993089021d064cc13d73'
         '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
}