revbayes: init

This commit is contained in:
Kuoi 2022-08-30 13:37:15 +01:00
parent babcce5f52
commit 3fcc0d5ce7
2 changed files with 44 additions and 0 deletions

View file

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