blob: 3bfe6b39ba5f69c383c00c4e06a73c142db81ef6 (
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
33
|
pkgname=generax
_pkgname=GeneRax
pkgver=2.1.3
pkgrel=1
arch=('x86_64')
url="https://github.com/BenoitMorel/GeneRax"
pkgdesc="A Tool for Species-Tree-Aware Maximum Likelihood-Based Gene Family Tree Inference under Gene Duplication, Transfer, and Loss https://doi.org/10.1093/molbev/msaa141"
depends=('gcc-libs' 'gmp')
makedepends=('cmake' 'make' 'gcc' 'openmpi' 'bison' 'flex' 'git')
license=('AGPL')
source=("git+$url.git#tag=$pkgver")
md5sums=('SKIP')
prepare(){
cd $_pkgname
git submodule update --init --recursive
}
build() {
cd $_pkgname
mkdir -p build && cd build
cmake ..
make
}
package() {
cd $_pkgname
cd build/bin
for bin in $(ls)
do
install -Dm 755 $bin $pkgdir/usr/bin/$bin
done
}
|