blob: 27016501074940f323d954693f0f4302529553b5 (
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
|
# Maintainer: Guoyi ("malcology") <guoyizhang@malacology.net>
# Contributor: Guoyi ("malcology") <guoyizhang@malacology.net>
pkgname=modeltest-ng
pkgver=0.1.7
pkgrel=6
pkgdesc="A New and Scalable Tool for the Selection of DNA and Protein Evolutionary Models. https://doi.org/10.1093/molbev/msz189"
url='https://github.com/ddarriba/modeltest'
arch=('x86_64')
makedepends=('bison' 'git' 'cmake' 'make' 'flex')
license=('GPL3')
source=("git+https://github.com/ddarriba/modeltest.git#tag=v${pkgver}")
sha256sums=('SKIP')
provides=('modeltest-ng')
conflicts=('modeltest-ng-mpi')
prepare(){
cd ${srcdir}/modeltest
git submodule update --init --recursive
}
build(){
cd ${srcdir}/modeltest/
mkdir build && cd build
cmake ..
make
}
package() {
install -dm755 "${pkgdir}"/usr/bin
install -Dm755 "${srcdir}/modeltest/bin/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
}
|