mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
Added BayesAss
This commit is contained in:
parent
79776b96bd
commit
f802f65e94
3 changed files with 48 additions and 0 deletions
28
BioArchLinux/bayesass/PKGBUILD
Normal file
28
BioArchLinux/bayesass/PKGBUILD
Normal file
|
@ -0,0 +1,28 @@
|
|||
# Maintainer: Mick Elliot <m.g.elliot@rug.nl>
|
||||
# Contributor: Mick Elliot <m.g.elliot@rug.nl>
|
||||
|
||||
pkgname=bayesass
|
||||
_pkgname=BA3
|
||||
pkgver=3.0.4.2
|
||||
pkgrel=1
|
||||
pkgdesc="Software for inferring proportions of recent migrants among populations using multilocus genotype data."
|
||||
arch=('x86_64')
|
||||
url="https://github.com/brannala/${_pkgname}"
|
||||
license=('GPL')
|
||||
depends=(gsl cblas gcc-libs)
|
||||
source=("${url}/archive/refs/tags/${pkgver}.tar.gz")
|
||||
|
||||
sha256sums=('6f808241da430a4554510870c381b646f4655bf461641c9f18feedda7b88889a')
|
||||
|
||||
build() {
|
||||
cd "${_pkgname}-${pkgver}"
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${_pkgname}-${pkgver}"
|
||||
install -Dm755 BA3MSAT "${pkgdir}/usr/bin/BA3MSAT"
|
||||
install -Dm755 BA3SNP "${pkgdir}/usr/bin/BA3SNP"
|
||||
}
|
||||
|
||||
|
11
BioArchLinux/bayesass/lilac.py
Normal file
11
BioArchLinux/bayesass/lilac.py
Normal file
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
from lilaclib import *
|
||||
|
||||
def pre_build():
|
||||
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
|
||||
|
||||
def post_build():
|
||||
git_add_files('PKGBUILD')
|
||||
git_commit()
|
||||
|
9
BioArchLinux/bayesass/lilac.yaml
Normal file
9
BioArchLinux/bayesass/lilac.yaml
Normal file
|
@ -0,0 +1,9 @@
|
|||
build_prefix: extra-x86_64
|
||||
maintainers:
|
||||
- github: michael.g.elliot
|
||||
email: m.g.elliot@rug.nl
|
||||
update_on:
|
||||
- source: github
|
||||
github: Fbrannala/BA3
|
||||
use_max_tag: true
|
||||
|
Loading…
Add table
Reference in a new issue