mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
try to add freebayes
This commit is contained in:
parent
f0efe2b44a
commit
a703206217
1 changed files with 33 additions and 0 deletions
33
prepare/freebayes/PKGBUILD
Normal file
33
prepare/freebayes/PKGBUILD
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
# maintainer: Guoyi
|
||||||
|
pkgname=freebayes
|
||||||
|
pkgver=1.3.6
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="About Bayesian haplotype-based genetic polymorphism discovery and genotyping"
|
||||||
|
arch=('x86_64')
|
||||||
|
url="https://github.com/freebayes/freebayes"
|
||||||
|
license=('MIT')
|
||||||
|
|
||||||
|
depends=('tabixpp' 'vcflib' 'vcftools' 'samtools' 'parallel' 'bc')
|
||||||
|
makedepends=('ninja' 'meson' 'git' 'cmake' 'make')
|
||||||
|
optdepends=()
|
||||||
|
|
||||||
|
source=(git+https://github.com/freebayes/freebayes.git#tag=v${pkgver})
|
||||||
|
noextract=()
|
||||||
|
sha256sums=('SKIP')
|
||||||
|
prepare() {
|
||||||
|
cd "$pkgname"
|
||||||
|
git submodule update --init --recursive
|
||||||
|
}
|
||||||
|
build() {
|
||||||
|
cd "$pkgname"
|
||||||
|
rm -rf build
|
||||||
|
mkdir build
|
||||||
|
meson --prefix=/usr --buildtype=debug build
|
||||||
|
cd build
|
||||||
|
ninja -v
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "$pkgname-$pkgver"
|
||||||
|
install -Dm 755 build/freebayes $pkgdir/usr/bin/freebayes
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue