Merge pull request #21 from BioArchLinux/mick

Fix bug 20 + other various bugs, add package bpp
This commit is contained in:
Mick Elliot 2022-01-05 16:24:58 +01:00 committed by GitHub
commit a9209c87b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 49 additions and 2 deletions

View file

@ -7,3 +7,4 @@ update_on:
regex: Version (\d+.\d+.\d+.\d+)
url: https://github.com/brannala/BA3/releases

27
BioArchLinux/bpp/PKGBUILD Normal file
View file

@ -0,0 +1,27 @@
# Maintainer: Mick Elliot <m.g.elliot@rug.nl>
# Contributor: Mick Elliot <m.g.elliot@rug.nl>
pkgname=bpp
pkgver=4.4.1
pkgrel=1
pkgdesc="High-performance Bayesian phylogenetics and phylogeography. https://doi.org/10.1093/sysbio/syw119"
arch=('x86_64')
url="https://github.com/bpp/bpp"
license=('Affero')
source=("${url}/archive/refs/tags/v${pkgver}.tar.gz")
depends=(glibc)
sha256sums=('5e1e3dade3613d191f384077705e821081fcbc09e991c3c8a92b3a9306d4d295')
build() {
cd "${pkgname}-${pkgver}/src"
make
}
package() {
cd "${pkgname}-${pkgver}/src"
install -Dm755 bpp "${pkgdir}/usr/bin/bpp"
install -Dm644 ../LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

11
BioArchLinux/bpp/lilac.py Normal file
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: bpp/bpp
use_max_tag: true

View file

@ -10,8 +10,7 @@ url="http://${sfname}.sourceforge.net/"
license=('GPL')
depends=(libarmadillo nlopt lapack)
makedepends=(curl)
optdepends=()
provides=()
TESTdepends=(python)
source=("https://github.com/FePhyFoFum/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('b09677f98f997838b39cd2724463be06d0627ddc90a7e659dc90d4e02db624eb')