add two beagle version

This commit is contained in:
Kuoi 2022-04-23 00:30:19 +01:00
parent 97a4c62af4
commit 1bf5c81f76
6 changed files with 108 additions and 0 deletions

View file

@ -0,0 +1,32 @@
# Original: Abhishek Dasgupta <abhidg@gmail.com>
# Maintainer: Stunts <f.pinamartins@gmail.com>
pkgname=mrbayes-beagle
_up_pkgname=MrBayes
pkgver=3.2.7
pkgrel=5
provides=("mrbayes")
pkgdesc="A program for the Bayesian estimation of phylogeny. https://doi.org/10.1093/sysbio/sys029"
arch=('i686' 'x86_64')
license=('GPL')
url="http://nbisweden.github.io/MrBayes/"
depends=('readline' 'gcc' 'beagle-lib')
source=(https://github.com/NBISweden/MrBayes/archive/v${pkgver}.tar.gz)
sha256sums=('64da39c01f606d0413ce90a1dd3c1ce2cbdef4cbad99aee8a4b2391a2e8db244')
build() {
cd ${srcdir}/${_up_pkgname}-${pkgver}
#Build with beagle-lib support if available:
if [ -f /usr/lib/libhmsbeagle.so ]
then
msg "beagle-lib found! Building with CUDA support."
./configure --with-beagle=/usr --prefix=${pkgdir}/usr
else
msg "beagle-lib not found! Building without CUDA support."
./configure --with-beagle=no --prefix=${pkgdir}/usr
fi
make
}
package() {
cd ${srcdir}/${_up_pkgname}-${pkgver}
make install
}

View file

@ -0,0 +1,10 @@
#!/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,10 @@
build_prefix: multilib
maintainers:
- github: starsareintherose
email: starsareintherose@outlook.com
update_on:
- source: github
github: NBISweden/MrBayes
use_latest_release: true
repo_depends:
- beagle-lib

View file

@ -0,0 +1,35 @@
# Maintainer: Guoyi ("malacology") <guoyizhang at malacology.net>
# Contributor: Guoyi ("malacology") <guoyizhang at malacology.net>
# Contributor: Christian Krause ("wookietreiber") <kizkizzbangbang@googlemail.com>
pkgname=mrbayes-mpi-beagle
pkgver=3.2.7
pkgrel=6
pkgdesc="MrBayes is a program for Bayesian inference and model choice across a wide range of phylogenetic and evolutionary models. https://doi.org/10.1093/sysbio/sys029"
arch=('i686' 'x86_64')
url="nbisweden.github.io/mrbayes/"
license=('GPL3')
depends=('openmpi' 'readline' 'gcc' 'beagle-lib')
conflicts=(mrbayes)
provides=(mrbayes)
source=("https://github.com/NBISweden/MrBayes/archive/v${pkgver}.tar.gz")
sha256sums=('64da39c01f606d0413ce90a1dd3c1ce2cbdef4cbad99aee8a4b2391a2e8db244')
build() {
cd ${srcdir}/MrBayes-$pkgver
#Build with beagle-lib support if available:
if [ -f /usr/lib/libhmsbeagle.so ]
then
msg "beagle-lib found! Building with CUDA support."
./configure --with-beagle=/usr --prefix=${pkgdir}/usr --enable-mpi=yes
else
msg "beagle-lib not found! Building without CUDA support."
./configure --with-beagle=no --prefix=${pkgdir}/usr --enable-mpi=yes
fi
make
}
package() {
cd ${srcdir}/MrBayes-$pkgver
make install
install ${pkgdir}/usr/bin/mb ${pkgdir}/usr/bin/mb-mpi
}

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

View file

@ -0,0 +1,10 @@
build_prefix: multilib
maintainers:
- github: starsareintherose
email: starsareintherose@outlook.com
update_on:
- source: github
github: NBISweden/MrBayes
use_latest_release: true
repo_depends:
- beagle-lib