diff options
-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 } |