mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
add fasttree
This commit is contained in:
parent
4b1d10e4fd
commit
f044169ce3
3 changed files with 42 additions and 0 deletions
24
fasttree/PKGBUILD
Normal file
24
fasttree/PKGBUILD
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# Maintainer: Stefan Seemayer <mail@semicolonsoftware.de>
|
||||||
|
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:
|
10
fasttree/lilac.py
Executable file
10
fasttree/lilac.py
Executable file
|
@ -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()
|
8
fasttree/lilac.yaml
Executable file
8
fasttree/lilac.yaml
Executable file
|
@ -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"
|
Loading…
Add table
Reference in a new issue