aboutsummaryrefslogtreecommitdiff
path: root/academic/perlprimer/perlprimer.SlackBuild
diff options
context:
space:
mode:
authorPetar Petrov <slackalaxy@gmail.com>2016-11-22 20:27:29 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-11-26 11:47:24 +0700
commit592919638f5a43810391d434b063ffdec7b8d955 (patch)
tree01931fddcdd099beb6fe05f0d670805cc0cafca8 /academic/perlprimer/perlprimer.SlackBuild
parentbd3e6b342b6bb97c22824ea6743746af486125d7 (diff)
academic/perlprimer: Updated for version 1.1.21.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'academic/perlprimer/perlprimer.SlackBuild')
-rw-r--r--academic/perlprimer/perlprimer.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/academic/perlprimer/perlprimer.SlackBuild b/academic/perlprimer/perlprimer.SlackBuild
index 182c189b732c8..8e681db655bf4 100644
--- a/academic/perlprimer/perlprimer.SlackBuild
+++ b/academic/perlprimer/perlprimer.SlackBuild
@@ -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