diff --git a/fasttree/PKGBUILD b/fasttree/PKGBUILD new file mode 100644 index 0000000000..0ac1fc27ca --- /dev/null +++ b/fasttree/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Stefan Seemayer +pkgname=fasttree +pkgver=2.1.11 +pkgrel=1 +pkgdesc="Approximately-Maximum-Likelihood Trees for Large Alignments" +arch=(i686 x86_64) +url="http://www.microbesonline.org/fasttree/" +license=('GPL') +depends=( + 'gcc' +) +source=(http://www.microbesonline.org/fasttree/FastTree-${pkgver}.c) +sha256sums=('9026ae550307374be92913d3098f8d44187d30bea07902b9dcbfb123eaa2050f') + +build() { + cd "$srcdir/" + gcc -DOPENMP -fopenmp -DUSE_DOUBLE -Wall -O3 -finline-functions -funroll-loops -o FastTree -lm FastTree-${pkgver}.c +} + +package() { + install -Dm 755 $srcdir/FastTree $pkgdir/usr/bin/FastTree +} + +# vim:set ts=2 sw=2 et: diff --git a/fasttree/lilac.py b/fasttree/lilac.py new file mode 100755 index 0000000000..fcbff72939 --- /dev/null +++ b/fasttree/lilac.py @@ -0,0 +1,10 @@ +#!/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() diff --git a/fasttree/lilac.yaml b/fasttree/lilac.yaml new file mode 100755 index 0000000000..c71bc198c5 --- /dev/null +++ b/fasttree/lilac.yaml @@ -0,0 +1,8 @@ +maintainers: + - github: starsareintherose + email: starsareintherose@outlook.com +build_prefix: extra-x86_64 +update_on: + - source: regex + url: "http://www.microbesonline.org/fasttree/" + regex: "FastTree-(\d+.\d+.\d).c"