add iqtree

This commit is contained in:
starsareintherose 2021-08-23 15:08:32 +08:00
parent c766f914ef
commit af3a5baae1
3 changed files with 49 additions and 0 deletions

31
iqtree/PKGBUILD Normal file
View file

@ -0,0 +1,31 @@
# Maintainer: Dominik Schrempf <dominik dot schrempf at gmail dot com>
# XXX: The following warning cannot be removed because CMAKE stores the build
# directory in the executable 'iqtree'.
# ==> WARNING: Package contains reference to $srcdir
# usr/bin/iqtree
pkgname=iqtree
pkgver=2.1.2
pkgrel=1
pkgdesc="Efficient phylogenomic software by maximum likelihood; multicore version (OMP)"
arch=(x86_64)
url="http://www.iqtree.org/"
license=('GPL2')
depends=('cmake' 'boost' 'eigen' 'glibc' 'libstdc++5' 'zlib')
source=("https://github.com/iqtree/iqtree2/archive/v${pkgver}.tar.gz")
md5sums=('83e85d78b096b48607b7dbf91f8211a9')
build() {
cd iqtree2-${pkgver}
mkdir -p build
cd build
cmake -DIQTREE_FLAGS=omp ..
make
}
package() {
cd iqtree2-${pkgver}
install -D -m 755 build/iqtree2 ${pkgdir}/usr/bin/iqtree2
}

10
iqtree/lilac.py Normal file
View 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
iqtree/lilac.yaml Normal file
View file

@ -0,0 +1,8 @@
build_prefix: extra-x86_64
maintainers:
- github: starsareintherose
email: starsareintherose@outlook.com
update_on:
- source: github
github: iqtree/iqtree2
use_latest_release: true