mirror of
https://github.com/SlackBuildsOrg/slackbuilds
synced 2024-09-30 05:39:56 +02:00
academic/perlprimer: Updated for version 1.1.21.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
bd3e6b342b
commit
592919638f
3 changed files with 17 additions and 2 deletions
11
academic/perlprimer/02_fix-defined-slist.patch
Normal file
11
academic/perlprimer/02_fix-defined-slist.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- orig/perlprimer.pl 2016-11-22 21:06:25.135978000 +0200
|
||||
+++ new/perlprimer.pl 2016-11-22 21:08:09.001971413 +0200
|
||||
@@ -5226,7 +5226,7 @@ sub generate_report {
|
||||
}
|
||||
|
||||
my ($hlist_sel) = $$hlist_ref->selectionGet;
|
||||
- unless (defined(@$slist) && defined($hlist_sel)) {
|
||||
+ unless (@$slist && defined($hlist_sel)) {
|
||||
dialogue("The Generate Report function saves the statistics and alignment of a particular primer pair - please select a primer pair first");
|
||||
return;
|
||||
}
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
PRGNAM=perlprimer
|
||||
VERSION=${VERSION:-1.1.21}
|
||||
BUILD=${BUILD:-2}
|
||||
BUILD=${BUILD:-3}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
ARCH=noarch
|
||||
|
@ -50,7 +50,11 @@ find -L . \
|
|||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
# Thanks to Debian for the patch!
|
||||
patch -p1 -i $CWD/sytaxerrors.patch
|
||||
patch -p1 -i $CWD/01_sytaxerrors.patch
|
||||
|
||||
# A quick fix to this issue:
|
||||
# https://bugs.launchpad.net/ubuntu/+source/perlprimer/+bug/1575074
|
||||
patch -p1 -i $CWD/02_fix-defined-slist.patch
|
||||
|
||||
install -D -m755 perlprimer.pl $PKG/usr/bin/perlprimer.pl
|
||||
install -D -m644 gcg.603 $PKG/usr/share/$PRGNAM/gcg.603
|
||||
|
|
Loading…
Reference in a new issue