diff options
author | Christian Krause | 2015-07-09 14:21:48 +0200 |
---|---|---|
committer | Christian Krause | 2015-07-09 14:21:48 +0200 |
commit | dad0f1c3b3c5eea119294516a01f85c543e6016f (patch) | |
tree | e2f117baf7bfdae32b89c09eba32de358394721a | |
parent | 18537beb9d240fef030eccad8d8fc062cee4f812 (diff) | |
download | aur-dad0f1c3b3c5eea119294516a01f85c543e6016f.tar.gz |
proovread-2.12-2
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 16 |
2 files changed, 15 insertions, 6 deletions
@@ -1,9 +1,10 @@ pkgbase = proovread pkgdesc = large-scale high accuracy PacBio correction through iterative short read consensus pkgver = 2.12 - pkgrel = 1 + pkgrel = 2 url = https://github.com/BioInf-Wuerzburg/proovread - arch = any + arch = i686 + arch = x86_64 license = PerlArtistic depends = blasr-git depends = perl-log-log4perl @@ -2,9 +2,9 @@ pkgname=proovread pkgver=2.12 -pkgrel=1 +pkgrel=2 pkgdesc="large-scale high accuracy PacBio correction through iterative short read consensus" -arch=('any') +arch=('i686' 'x86_64') url="https://github.com/BioInf-Wuerzburg/proovread" license=('PerlArtistic') depends=('blasr-git' 'perl-log-log4perl' 'blast+>=2.2.24' 'samtools>=1.1' 'shrimp') @@ -16,6 +16,11 @@ prepare() { git submodule init git submodule update + + sed -e "s|'bwa-path' => \$RealBin.'/../util/bwa/'|'bwa-path' => ''|" \ + -e "s|'shrimp-path' => \$RealBin.'/../util/shrimp-2.2.3/'|'shrimp-path' => ''|" \ + -e "s|'blasr-path' => \$RealBin.'/../util/blasr-1.3.1/'|'blasr-path' => ''|" \ + -i proovread.cfg } build() { @@ -28,11 +33,14 @@ package() { cd $srcdir/$pkgname mkdir -p $pkgdir/usr/bin \ - $pkgdir/usr/lib/perl5/vendor_perl + $pkgdir/usr/lib/perl5/vendor_perl \ + $pkgdir/usr/share/proovread - for file in bin/* util/SeqChunker/bin/* ; do + for file in bin/* util/SeqChunker/bin/* util/bwa/bwa-proovread ; do install -Dm755 $file $pkgdir/usr/bin/$(basename $file .pl) done cp -r lib/* $pkgdir/usr/lib/perl5/vendor_perl + + install -Dm644 proovread.cfg $pkgdir/usr/share/proovread/proovread.cfg } |