revbayes-mpi: init

This commit is contained in:
Kuoi 2022-08-30 13:36:59 +01:00
parent dfdf41d2d9
commit babcce5f52
2 changed files with 45 additions and 0 deletions

View file

@ -0,0 +1,32 @@
pkgname=revbayes-mpi
_pkgname=revbayes
pkgver=1.2.0
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' 'openmpi')
makedepends=('boost' 'meson' 'ninja' 'cmake' 'git')
conflicts=('lrzsz' 'revbayes-mpi')
source=("git+$url.git#tag=v$pkgver")
md5sums=('SKIP')
prepare() {
cd $srcdir/$_pkgname
git submodule update --init --recursive
./projects/meson/generate.sh
}
build() {
cd $srcdir/$_pkgname
arch-meson build -Dmpi=true
ninja -C build
}
package() {
cd $srcdir/$_pkgname
DESTDIR="${pkgdir}" ninja -C build install
}

View file

@ -0,0 +1,13 @@
build_prefix: extra-x86_64
maintainers:
- github: starsareintherose
email: kuoi@bioarchlinux.org
post_build_script: |
git_add_files('.')
git_commit()
update_aur_repo()
update_on:
- source: github
github: revbayes/revbayes
use_latest_release: true
prefix: 'v'