summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Krause2015-08-20 11:24:29 +0200
committerChristian Krause2015-08-20 11:24:29 +0200
commit77f82e1a3301ecd351f6f79a328ed6a71d2d5674 (patch)
treef32d59336967dfcbc718718619680c5cff6a86a4
parentdad0f1c3b3c5eea119294516a01f85c543e6016f (diff)
downloadaur-77f82e1a3301ecd351f6f79a328ed6a71d2d5674.tar.gz
proovread.cfg path fixes
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD17
2 files changed, 17 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 32b8f2e0bf6b..3cabe1e6b6bf 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = proovread
pkgdesc = large-scale high accuracy PacBio correction through iterative short read consensus
pkgver = 2.12
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/BioInf-Wuerzburg/proovread
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index aeca7ddef7ab..81b91872d62e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=proovread
pkgver=2.12
-pkgrel=2
+pkgrel=3
pkgdesc="large-scale high accuracy PacBio correction through iterative short read consensus"
arch=('i686' 'x86_64')
url="https://github.com/BioInf-Wuerzburg/proovread"
@@ -21,6 +21,13 @@ prepare() {
-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
+
+ sed -e 's|my $cfg_core_file = "$RealBin/../proovread.cfg";|my $cfg_core_file = "/usr/share/proovread/proovread.cfg";|' \
+ -e 's|my $cfg_core_file = "../proovread.cfg";|my $cfg_core_file = "/usr/share/proovread/proovread.cfg";|' \
+ -i bin/bam2cns \
+ bin/proovread \
+ bin/sam2cns \
+ bin/test_cfg.pl
}
build() {
@@ -29,6 +36,14 @@ build() {
make
}
+# check() {
+# cd $srcdir/$pkgname/t
+
+# for testfile in *.t ; do
+# perl $testfile
+# done
+# }
+
package() {
cd $srcdir/$pkgname