mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
33 lines
1,014 B
Bash
33 lines
1,014 B
Bash
# Maintainer: Guoyi ("malcology") <guoyizhang@malacology.net>
|
|
# Contributor: Guoyi ("malcology") <guoyizhang@malacology.net>
|
|
|
|
pkgname=raxml-ng-portable
|
|
_pkgname=raxml-ng
|
|
pkgver=1.2.0
|
|
pkgrel=1
|
|
pkgdesc="A phylogenetic tree inference tool which uses maximum-likelihood (ML) optimality criterion. https://doi.org/10.1093/bioinformatics/btz305"
|
|
url='https://github.com/amkozlov/raxml-ng'
|
|
arch=('x86_64')
|
|
license=('AGPL3')
|
|
depends=('gcc-libs')
|
|
makedepends=('bison' 'make' 'cmake' 'flex' 'gmp' 'gtest' 'git')
|
|
source=("git+https://github.com/amkozlov/raxml-ng.git#tag=${pkgver}")
|
|
sha256sums=('SKIP')
|
|
provides=('raxml-ng')
|
|
conflicts=('raxml-ng-mpi')
|
|
prepare(){
|
|
cd ${srcdir}/raxml-ng
|
|
git submodule update --init --recursive
|
|
sed -i "s@-std=c++11@-std=c++14@g" CMakeLists.txt
|
|
}
|
|
build(){
|
|
cd "${srcdir}"/raxml-ng
|
|
mkdir -p build
|
|
cd build
|
|
cmake -DENABLE_SSE=false -DENABLE_AVX=false -DENABLE_AVX2=false ..
|
|
make
|
|
}
|
|
package() {
|
|
cd ${srcdir}/raxml-ng/bin
|
|
install -Dm755 $_pkgname "${pkgdir}/usr/bin/${_pkgname}"
|
|
}
|