summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ae2f5e9a8133472a2d3c1be44d2ff01932ae00c7 (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.2
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=('9e5ba42b45ce51197148a1f0e8fd3eeddc867a06bfb3b763bb8121d808155baf')
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}"
}