iqtree-mpi: init

This commit is contained in:
Kuoi 2022-08-29 19:48:32 +01:00
parent b5249f835f
commit 97f78fab8f
3 changed files with 56 additions and 0 deletions

View file

@ -0,0 +1,32 @@
# Maintainer: Guoyi Zhang <myname at malacology dot net>
pkgname=iqtree-mpi
_pkgname=iqtree2
pkgver=2.1.2
pkgrel=1
pkgdesc="Efficient phylogenomic software by maximum likelihood; multicore version (OMP). https://doi.org/10.1093/molbev/msaa015"
arch=(x86_64)
url="https://github.com/iqtree/iqtree2"
license=('GPL2')
depends=('boost' 'eigen' 'gcc-libs' 'zlib' 'openmpi' 'nvidia-utils')
makedepends=('cmake' 'make' 'gcc' 'git')
source=("git+$url.git#tag=v${pkgver}")
md5sums=('SKIP')
prepare() {
cd $_pkgname
git submodule update --init --recursive
}
build() {
cd $_pkgname
mkdir -p build && cd build
cmake -DIQTREE_FLAGS=mpi ..
make
}
package() {
cd $_pkgname/build
chmod +x $_pkgname-mpi
install -Dm 755 $_pkgname-mpi ${pkgdir}/usr/bin/$pkgname
}

View file

@ -0,0 +1,12 @@
#!/usr/bin/env python3
from lilaclib import *
def pre_build():
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
run_cmd(['updpkgsums'])
def post_build():
git_add_files('PKGBUILD')
git_commit()
update_aur_repo()

View file

@ -0,0 +1,12 @@
build_prefix: extra-x86_64
maintainers:
- github: starsareintherose
email: kuoi@bioarchlinux.org
update_on:
- source: github
github: iqtree/iqtree2
use_latest_release: true
prefix: 'v'
#repo_depends:
# - libstdc++5
time_limit_hours: 6