blob: 0165285a8eb4c4cc0043e8f2523dc6fe80ea1568 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Maintainer: Guoyi Zhang <myname at malacology dot net>
pkgname=iqtree-mpi
_pkgname=iqtree2
pkgver=2.3.6
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-libs' 'gcc-libs' 'zlib' 'openmpi' 'nvidia-utils')
makedepends=('cmake' 'make' 'gcc' 'git' 'boost' 'eigen')
source=("git+$url.git#tag=v${pkgver}")
md5sums=('edf69e616ea84c9d78c9493b64731e81')
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
}
|