add phylobayes-mpi

This commit is contained in:
starsareintherose 2021-08-23 01:22:47 +08:00
parent b29e165090
commit 04c839d6b5
3 changed files with 48 additions and 0 deletions

30
phylobayes-mpi/PKGBUILD Normal file
View file

@ -0,0 +1,30 @@
# Maintainer: Christian Krause ("wookietreiber") <kizkizzbangbang@googlemail.com>
_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
}

10
phylobayes-mpi/lilac.py Normal file
View file

@ -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()

View file

@ -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