diff --git a/phylobayes-mpi/PKGBUILD b/phylobayes-mpi/PKGBUILD new file mode 100644 index 0000000000..10cdb62011 --- /dev/null +++ b/phylobayes-mpi/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Christian Krause ("wookietreiber") + +_pkgname=phylobayes +pkgname=$_pkgname-mpi +pkgver=1.8c +pkgrel=1 +pkgdesc="phylogenetic reconstruction using infinite mixtures" +arch=('i686' 'x86_64') +url="https://github.com/bayesiancook/pbmpi" +license=('GPL2') +conflicts=('phylobayes') +depends=('openmpi') +source=("https://codeload.github.com/bayesiancook/pbmpi/tar.gz/refs/tags/v${pkgver}") +md5sums=('9ee847859fafcdcf203eddc458c25e8a') + +build() { + cd $srcdir/pbmpi-$pkgver/sources + + make +} + +package() { + cd $srcdir/pbmpi-$pkgver/data + + mkdir -p $pkgdir/usr/bin + + find -mindepth 1 -maxdepth 1 -type f -printf '%P\n' | while read file ; do + cp $file $pkgdir/usr/bin + done +} diff --git a/phylobayes-mpi/lilac.py b/phylobayes-mpi/lilac.py new file mode 100644 index 0000000000..8c66f58ed6 --- /dev/null +++ b/phylobayes-mpi/lilac.py @@ -0,0 +1,10 @@ +#!/usr/bin/env python3 + +from lilaclib import * + +def pre_build(): + update_pkgver_and_pkgrel(_G.newver.lstrip('v')) + +def post_build(): + git_add_files('PKGBUILD') + git_commit() diff --git a/phylobayes-mpi/lilac.yaml b/phylobayes-mpi/lilac.yaml new file mode 100644 index 0000000000..b146635bae --- /dev/null +++ b/phylobayes-mpi/lilac.yaml @@ -0,0 +1,8 @@ +build_prefix: multilib +maintainers: + - github: starsareintherose + email: starsareintherose@outlook.com +update_on: + - source: github + github: bayesiancook/pbmpi + use_latest_release: true