diff options
author | Christian Krause | 2015-08-20 11:34:08 +0200 |
---|---|---|
committer | Christian Krause | 2015-08-20 11:34:08 +0200 |
commit | f49d64bca91e9b18a1916be7ecd68fbb0e419d7f (patch) | |
tree | 8490c56976c95b6adabc8a0ef038b4b7e4023309 | |
parent | 77f82e1a3301ecd351f6f79a328ed6a71d2d5674 (diff) | |
download | aur-f49d64bca91e9b18a1916be7ecd68fbb0e419d7f.tar.gz |
install samples and fix paths
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 8 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = proovread pkgdesc = large-scale high accuracy PacBio correction through iterative short read consensus pkgver = 2.12 - pkgrel = 3 + pkgrel = 4 url = https://github.com/BioInf-Wuerzburg/proovread arch = i686 arch = x86_64 @@ -2,7 +2,7 @@ pkgname=proovread pkgver=2.12 -pkgrel=3 +pkgrel=4 pkgdesc="large-scale high accuracy PacBio correction through iterative short read consensus" arch=('i686' 'x86_64') url="https://github.com/BioInf-Wuerzburg/proovread" @@ -28,6 +28,9 @@ prepare() { bin/proovread \ bin/sam2cns \ bin/test_cfg.pl + + sed -e 's|$RealBin/../sample|/usr/share/proovread/sample|' \ + -i bin/proovread } build() { @@ -49,7 +52,7 @@ package() { mkdir -p $pkgdir/usr/bin \ $pkgdir/usr/lib/perl5/vendor_perl \ - $pkgdir/usr/share/proovread + $pkgdir/usr/share/proovread/sample for file in bin/* util/SeqChunker/bin/* util/bwa/bwa-proovread ; do install -Dm755 $file $pkgdir/usr/bin/$(basename $file .pl) @@ -58,4 +61,6 @@ package() { cp -r lib/* $pkgdir/usr/lib/perl5/vendor_perl install -Dm644 proovread.cfg $pkgdir/usr/share/proovread/proovread.cfg + + cp sample/* $pkgdir/usr/share/proovread/sample } |