mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
mpboot: init
This commit is contained in:
parent
5cfd6a1160
commit
dbdcdf4efe
3 changed files with 47 additions and 0 deletions
26
BioArchLinux/mpboot/PKGBUILD
Normal file
26
BioArchLinux/mpboot/PKGBUILD
Normal file
|
@ -0,0 +1,26 @@
|
|||
# Maintainer: Guoyi Zhang <myname at malacology dot net>
|
||||
|
||||
pkgname=mpboot
|
||||
pkgver=1.1.1
|
||||
pkgrel=1
|
||||
pkgdesc="Fast phylogenetic maximum parsimony tree inference and bootstrap approximation https://doi.org/10.1186/s12862-018-1131-3"
|
||||
arch=(x86_64)
|
||||
url="https://github.com/diepthihoang/mpboot"
|
||||
license=('GPL2')
|
||||
depends=('eigen' 'gcc-libs' 'zlib')
|
||||
makedepends=('cmake' 'make' 'clang' 'git')
|
||||
source=("git+$url.git#tag=v$pkgver")
|
||||
md5sums=('SKIP')
|
||||
|
||||
build() {
|
||||
cd $pkgname
|
||||
mkdir -p build && cd build
|
||||
cmake -DIQTREE_FLAGS=avx -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ ..
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname/build
|
||||
chmod +x $pkgname-avx
|
||||
install -Dm 755 $pkgname-avx ${pkgdir}/usr/bin/$pkgname
|
||||
}
|
12
BioArchLinux/mpboot/lilac.py
Normal file
12
BioArchLinux/mpboot/lilac.py
Normal file
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
from lilaclib import *
|
||||
|
||||
def pre_build():
|
||||
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
|
||||
run_cmd(['updpkgsums'])
|
||||
|
||||
def post_build():
|
||||
git_add_files('PKGBUILD')
|
||||
git_commit()
|
||||
update_aur_repo()
|
9
BioArchLinux/mpboot/lilac.yaml
Normal file
9
BioArchLinux/mpboot/lilac.yaml
Normal file
|
@ -0,0 +1,9 @@
|
|||
build_prefix: extra-x86_64
|
||||
maintainers:
|
||||
- github: starsareintherose
|
||||
email: kuoi@bioarchlinux.org
|
||||
update_on:
|
||||
- source: github
|
||||
github: diepthihoang/mpboot
|
||||
use_latest_release: true
|
||||
prefix: 'v'
|
Loading…
Add table
Reference in a new issue