mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
add modeltest-ng mpi version
This commit is contained in:
parent
779fd83476
commit
81ba94bf0c
3 changed files with 47 additions and 0 deletions
29
BioArchLinux/modeltest-ng-mpi/PKGBUILD
Normal file
29
BioArchLinux/modeltest-ng-mpi/PKGBUILD
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
# Maintainer: Guoyi ("malcology") <guoyizhang@malacology.net>
|
||||||
|
# Contributor: Guoyi ("malcology") <guoyizhang@malacology.net>
|
||||||
|
|
||||||
|
pkgname=modeltest-ng-mpi
|
||||||
|
pkgver=0.1.7
|
||||||
|
pkgrel=5
|
||||||
|
pkgdesc="A New and Scalable Tool for the Selection of DNA and Protein Evolutionary Models. https://doi.org/10.1093/molbev/msz189"
|
||||||
|
url='https://github.com/ddarriba/modeltest'
|
||||||
|
arch=('x86_64')
|
||||||
|
depends=('openmpi')
|
||||||
|
makedepends=('bison' 'git' 'cmake' 'make' 'flex')
|
||||||
|
license=('GPL3')
|
||||||
|
source=("git+https://github.com/ddarriba/modeltest.git#tag=v${pkgver}")
|
||||||
|
sha256sums=('SKIP')
|
||||||
|
prepare(){
|
||||||
|
cd ${srcdir}/modeltest
|
||||||
|
git submodule update --init --recursive
|
||||||
|
}
|
||||||
|
build(){
|
||||||
|
cd ${srcdir}/modeltest/
|
||||||
|
mkdir build && cd build
|
||||||
|
cmake -DUSE_MPI=ON ..
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
install -dm755 "${pkgdir}"/usr/bin
|
||||||
|
install -Dm755 "${srcdir}/modeltest/bin/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
|
||||||
|
}
|
10
BioArchLinux/modeltest-ng-mpi/lilac.py
Normal file
10
BioArchLinux/modeltest-ng-mpi/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
BioArchLinux/modeltest-ng-mpi/lilac.yaml
Normal file
8
BioArchLinux/modeltest-ng-mpi/lilac.yaml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
build_prefix: extra-x86_64
|
||||||
|
maintainers:
|
||||||
|
- github: starsareintherose
|
||||||
|
email: starsareintherose@outlook.com
|
||||||
|
update_on:
|
||||||
|
- source: github
|
||||||
|
github: ddarriba/modeltest
|
||||||
|
use_latest_release: true
|
Loading…
Add table
Reference in a new issue