mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
add phylobayes
This commit is contained in:
parent
ec33d4049c
commit
b29e165090
3 changed files with 50 additions and 0 deletions
32
phylobayes/PKGBUILD
Normal file
32
phylobayes/PKGBUILD
Normal file
|
@ -0,0 +1,32 @@
|
|||
# Maintainer: malacology
|
||||
# Contributor: Christian Krause ("wookietreiber") <kizkizzbangbang@googlemail.com>
|
||||
|
||||
pkgname=phylobayes
|
||||
pkgver=4.1e
|
||||
pkgrel=1
|
||||
pkgdesc="phylogenetic reconstruction using infinite mixtures"
|
||||
arch=('i686' 'x86_64')
|
||||
url="https://github.com/bayesiancook/phylobayes"
|
||||
license=('custom')
|
||||
conflicts=('phylobayes-mpi')
|
||||
depends=('gcc-libs')
|
||||
source=("https://codeload.github.com/bayesiancook/phylobayes/tar.gz/refs/tags/v${pkgver}")
|
||||
md5sums=('b7e915ecc83f3991142218d09aefd8c8')
|
||||
|
||||
build() {
|
||||
cd $srcdir/${pkgname}-${pkgver}/sources
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $srcdir/${pkgname}-${pkgver}/data
|
||||
|
||||
mkdir -p $pkgdir/usr/bin $pkgdir/usr/share/licenses/$pkgname
|
||||
|
||||
find -mindepth 1 -maxdepth 1 -type f -printf '%P\n' | while read file ; do
|
||||
cp $file $pkgdir/usr/bin
|
||||
done
|
||||
|
||||
echo 'unknown' > $pkgdir/usr/share/licenses/$pkgname/LICENSE
|
||||
}
|
10
phylobayes/lilac.py
Normal file
10
phylobayes/lilac.py
Normal 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()
|
8
phylobayes/lilac.yaml
Normal file
8
phylobayes/lilac.yaml
Normal file
|
@ -0,0 +1,8 @@
|
|||
build_prefix: multilib
|
||||
maintainers:
|
||||
- github: starsareintherose
|
||||
email: starsareintherose@outlook.com
|
||||
update_on:
|
||||
- source: github
|
||||
github: bayesiancook/phylobayes
|
||||
use_latest_release: true
|
Loading…
Add table
Reference in a new issue