diff options
author | Christian Krause | 2017-06-28 17:28:16 +0200 |
---|---|---|
committer | Christian Krause | 2017-06-28 17:28:16 +0200 |
commit | 69af6b423622887a9555db7adf6517c039a3cf13 (patch) | |
tree | 89bcec96cb7de0f091f39045e6659afafeecb4a1 /PKGBUILD | |
parent | c6047918401e94573d8a10061277c125473e86f9 (diff) | |
download | aur-69af6b423622887a9555db7adf6517c039a3cf13.tar.gz |
bcftools-1.5-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 24 |
1 files changed, 13 insertions, 11 deletions
@@ -1,7 +1,7 @@ # Maintainer: Christian Krause ("wookietreiber") <christian.krause@mailbox.org> pkgname=bcftools -pkgver=1.4.1 +pkgver=1.5 pkgrel=1 pkgdesc="Reading/writing BCF2/VCF/gVCF files and calling/filtering/summarising SNP and short indel sequence variants" arch=('i686' 'x86_64') @@ -9,8 +9,7 @@ url="http://samtools.github.io/bcftools/" license=('GPL') depends=('gsl' 'htslib') optdepends=('python2: needed for some scripts') -source=(https://github.com/samtools/bcftools/releases/download/$pkgver/$pkgname-$pkgver.tar.bz2 - makefile-system-htslib.patch) +source=(https://github.com/samtools/bcftools/releases/download/$pkgver/$pkgname-$pkgver.tar.bz2) prepare() { cd $srcdir/$pkgname-$pkgver @@ -21,28 +20,31 @@ prepare() { sed -e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' \ -e 's|#!/usr/bin/python|#!/usr/bin/env python2|' \ -i misc/plot-roh.py misc/guess-ploidy.py - - # patch Makefile to make it work with a system-provided htslib - patch -i $srcdir/makefile-system-htslib.patch } build() { cd $srcdir/$pkgname-$pkgver - make prefix=/usr plugindir=/usr/lib/$pkgname USE_GPL=1 + ./configure \ + --prefix=/usr \ + --enable-libgsl \ + --with-bcf-plugin-dir=/usr/lib/$pkgname \ + --with-cblas=gslcblas \ + --with-htslib=system + + make } check() { cd $srcdir/$pkgname-$pkgver - make prefix=/usr plugindir=/usr/lib/$pkgname USE_GPL=1 test + make check } package() { cd $srcdir/$pkgname-$pkgver - make prefix=/usr plugindir=/usr/lib/$pkgname USE_GPL=1 DESTDIR=$pkgdir install + make DESTDIR=$pkgdir install } -md5sums=('103729569ca3e265b13d2fed5775016e' - '1777e7d3bcfd428de407f62c870904cb') +md5sums=('e43efe3df5f9c55acb4b48cee214d281') |