blob: 05bbc669e0dcef0888001484c0fd6c59e1b594df (
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
_pkgname=iqtree2
pkgver=2.3.6
pkgrel=1
pkgdesc="Efficient phylogenomic software by maximum likelihood https://doi.org/10.1093/molbev/msaa015"
arch=(x86_64)
url="https://github.com/iqtree/iqtree2"
license=('GPL2')
depends=('boost-libs' 'gcc-libs' 'zlib')
makedepends=('cmake' 'eigen' 'make' 'gcc' 'git' 'boost')
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=omp ..
make
}
package() {
cd $_pkgname/build
chmod +x $_pkgname
install -Dm 755 $_pkgname ${pkgdir}/usr/bin/$pkgname
}
|