diff --git a/BioArchLinux/mpi-bucky/PKGBUILD b/BioArchLinux/mpi-bucky/PKGBUILD new file mode 100644 index 0000000000..8326d171dd --- /dev/null +++ b/BioArchLinux/mpi-bucky/PKGBUILD @@ -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 +} diff --git a/BioArchLinux/mpi-bucky/lilac.py b/BioArchLinux/mpi-bucky/lilac.py new file mode 100644 index 0000000000..c6d1de3db7 --- /dev/null +++ b/BioArchLinux/mpi-bucky/lilac.py @@ -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() diff --git a/BioArchLinux/mpi-bucky/lilac.yaml b/BioArchLinux/mpi-bucky/lilac.yaml new file mode 100644 index 0000000000..c05bd6779c --- /dev/null +++ b/BioArchLinux/mpi-bucky/lilac.yaml @@ -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}'