summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fe9d297e04853e9b395e6f8608212468d7fdd611 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Maintainer: Guoyi ("malcology") <guoyizhang@malacology.net>
# Contributor: Guoyi ("malcology") <guoyizhang@malacology.net>

pkgname=raxml-ng
pkgver=1.2.1
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 ..
  make
}
package() {
  cd ${srcdir}/raxml-ng/bin
  install -Dm755 $pkgname "${pkgdir}/usr/bin/${pkgname}"
}