diff --git a/iqtree/PKGBUILD b/iqtree/PKGBUILD new file mode 100644 index 0000000000..84737d18bd --- /dev/null +++ b/iqtree/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Dominik Schrempf + +# 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 +} diff --git a/iqtree/lilac.py b/iqtree/lilac.py new file mode 100644 index 0000000000..8c66f58ed6 --- /dev/null +++ b/iqtree/lilac.py @@ -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() diff --git a/iqtree/lilac.yaml b/iqtree/lilac.yaml new file mode 100644 index 0000000000..fc81778170 --- /dev/null +++ b/iqtree/lilac.yaml @@ -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