mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
add raxml
This commit is contained in:
parent
8390c93c6d
commit
ff3df74782
4 changed files with 76 additions and 0 deletions
41
raxml/PKGBUILD
Normal file
41
raxml/PKGBUILD
Normal file
|
@ -0,0 +1,41 @@
|
|||
# Maintainer: Christian Krause ("wookietreiber") <kizkizzbangbang@googlemail.com>
|
||||
|
||||
pkgname=raxml
|
||||
pkgver=8.2.12
|
||||
pkgrel=1
|
||||
pkgdesc="Randomized Axelerated Maximum Likelihood"
|
||||
arch=('x86_64')
|
||||
url="http://sco.h-its.org/exelixis/web/software/raxml/"
|
||||
license=('GPL3')
|
||||
depends=('bash' 'perl')
|
||||
conflicts=(raxml-mpi)
|
||||
install='raxml.install'
|
||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/stamatak/standard-RAxML/archive/v$pkgver.tar.gz"
|
||||
'raxml.install')
|
||||
sha256sums=('338f81b52b54e16090e193daf36c1d4baa9b902705cfdc7f4497e3e09718533b'
|
||||
'c908ecbcfd6323e0b05a19037f96904a9b379ae0a9934ade839210095bb49caf')
|
||||
|
||||
build() {
|
||||
cd standard-RAxML-$pkgver
|
||||
|
||||
for _f in $(ls Makefile*gcc | grep -vE "HYBRID|MPI") ; do
|
||||
rm -f *.o
|
||||
make -f $_f || true
|
||||
done
|
||||
}
|
||||
|
||||
package() {
|
||||
cd standard-RAxML-$pkgver
|
||||
|
||||
for _f in raxml* ; do
|
||||
install -Dm755 $_f "$pkgdir"/usr/bin/$(basename $_f)
|
||||
done
|
||||
|
||||
for _perlscript in usefulScripts/*.pl ; do
|
||||
install -Dm755 $_perlscript "$pkgdir"/usr/bin/$(basename $_perlscript .pl)
|
||||
done
|
||||
|
||||
for _shellscript in usefulScripts/*.sh ; do
|
||||
install -Dm755 $_shellscript "$pkgdir"/usr/bin/$(basename $_shellscript .sh)
|
||||
done
|
||||
}
|
10
raxml/lilac.py
Normal file
10
raxml/lilac.py
Normal 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
raxml/lilac.yaml
Normal file
8
raxml/lilac.yaml
Normal file
|
@ -0,0 +1,8 @@
|
|||
build_prefix: extra-x86_64
|
||||
maintainers:
|
||||
- github: starsareintherose
|
||||
email: starsareintherose@outlook.com
|
||||
update_on:
|
||||
- source: github
|
||||
github: stamatak/standard-RAxML
|
||||
use_latest_release: true
|
17
raxml/raxml.install
Normal file
17
raxml/raxml.install
Normal file
|
@ -0,0 +1,17 @@
|
|||
post_install() {
|
||||
cat << EOF
|
||||
|
||||
raxml has installed all buildable executables, which ones depends on
|
||||
your hardware (AVX, AVX2, SSE)
|
||||
|
||||
if you either want (or need) an executable that is just called raxml,
|
||||
create a symlink like this to your preferred variant:
|
||||
|
||||
ln -s /usr/bin/raxmlHPC-PTHREADS-AVX2 /usr/bin/raxml
|
||||
|
||||
EOF
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
Loading…
Add table
Reference in a new issue