Added BayesAss

This commit is contained in:
Mick Elliot 2022-01-05 00:12:18 +01:00
parent 79776b96bd
commit f802f65e94
3 changed files with 48 additions and 0 deletions

View 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"
}

View 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()

View 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