mpi-bucky: init

This commit is contained in:
Kuoi 2022-08-29 18:00:18 +01:00
parent e6d11224a4
commit 2098e9f982
3 changed files with 49 additions and 0 deletions

View file

@ -0,0 +1,25 @@
pkgname=mpi-bucky
pkgver=1.4.4
pkgrel=1
pkgdesc="Bayesian Untangling of Concordance Knots https://doi.org/10.1093/bioinformatics/btq539"
arch=('x86_64')
conflicts=('bucky')
url="https://github.com/tkchafin/mpi-bucky"
license=('GPL')
depends=('gcc-libs' 'boost-libs' 'openmpi')
makedepends=('clang' 'boost' 'openmpi')
source=("git+$url.git")
sha256sums=('SKIP')
build() {
cd "$srcdir/$pkgname/src"
make
}
package() {
cd "$srcdir/$pkgname/src"
for bin in bucky mbsum
do
install -Dm 755 $bin $pkgdir/usr/bin/$bin
done
}

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

View file

@ -0,0 +1,12 @@
build_prefix: extra-x86_64
maintainers:
- github: starsareintherose
email: kuoi@bioarchlinux.org
pre_build_script: |
update_pkgrel()
vcs_update()
post_build_script: |
git_pkgbuild_commit()
update_on:
- source: cmd
cmd: curl -sS https://raw.githubusercontent.com/tkchafin/mpi-bucky/master/src/bucky.C | grep ' BUCKy' | awk '{print $3}'