mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
bucky: init
This commit is contained in:
parent
d4d8b0df95
commit
1aa835b365
3 changed files with 53 additions and 0 deletions
30
BioArchLinux/bucky/PKGBUILD
Normal file
30
BioArchLinux/bucky/PKGBUILD
Normal file
|
@ -0,0 +1,30 @@
|
|||
pkgname=bucky
|
||||
pkgver=1.4.4
|
||||
pkgrel=1
|
||||
pkgdesc="Bayesian Untangling of Concordance Knots https://doi.org/10.1093/bioinformatics/btq539"
|
||||
arch=('x86_64')
|
||||
conflicts=('mpi-bucky')
|
||||
url="https://github.com/tkchafin/mpi-bucky"
|
||||
license=('GPL')
|
||||
depends=('gcc-libs' 'boost-libs')
|
||||
makedepends=('clang' 'boost')
|
||||
source=("http://dstats.net/download/http://www.stat.wisc.edu/~ane/bucky/v${pkgver%.*}/bucky-${pkgver}.tgz")
|
||||
sha256sums=('1621fee0d42314d9aa45d0082b358d4531e7d1d1a0089c807c1b21fbdc4e4592')
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$pkgname-$pkgver/src"
|
||||
for file in TaxonSet Alias mbsumtree TGM Quartets mbsumtree
|
||||
do
|
||||
clang++ -c $file.C
|
||||
done
|
||||
clang++ bucky.C TaxonSet.o Alias.o mbsumtree.o TGM.o Quartets.o -o bucky
|
||||
clang++ mbsum.C mbsumtree.o -o mbsum
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$pkgname-$pkgver/src"
|
||||
for bin in bucky mbsum
|
||||
do
|
||||
install -Dm 755 $bin $pkgdir/usr/bin/$bin
|
||||
done
|
||||
}
|
11
BioArchLinux/bucky/lilac.py
Normal file
11
BioArchLinux/bucky/lilac.py
Normal file
|
@ -0,0 +1,11 @@
|
|||
#!/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()
|
12
BioArchLinux/bucky/lilac.yaml
Normal file
12
BioArchLinux/bucky/lilac.yaml
Normal file
|
@ -0,0 +1,12 @@
|
|||
build_prefix: extra-x86_64
|
||||
maintainers:
|
||||
- github: starsareintherose
|
||||
email: kuoi@bioarchlinux.org
|
||||
pre_build: |
|
||||
update_pkgrel()
|
||||
vcs_update
|
||||
post_build: |
|
||||
git_pkgbuild_commit()
|
||||
update_on:
|
||||
- source: cmd
|
||||
cmd: curl -sS https://pages.stat.wisc.edu/~ane/bucky/downloads.html | grep '<td>[0-9]\+' | sed 's/<td>//g' | awk '{print $1}' | head -n 1
|
Loading…
Add table
Reference in a new issue