summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Andreas Voegele2020-02-15 02:47:25 +0100
committer Willy Sudiarto Raharjo2020-02-15 02:47:25 +0100
commit90da8337479c720fed5b496de00bf695ea8605a3 (patch)
treecfc4aec1e543c5399683316981f673b55f0dc945
parentfffd496fc077961230da559c8bcca45ffed0be97 (diff)
downloadslackbuilds-90da8337479c720fed5b496de00bf695ea8605a3.tar.gz
perl/rakudo: Updated for version 2020.01.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--perl/rakudo/README3
-rw-r--r--perl/rakudo/rakudo.SlackBuild10
-rw-r--r--perl/rakudo/rakudo.info6
3 files changed, 10 insertions, 9 deletions
diff --git a/perl/rakudo/README b/perl/rakudo/README
index 7e1db1833f..ca976c2f63 100644
--- a/perl/rakudo/README
+++ b/perl/rakudo/README
@@ -2,8 +2,7 @@ Rakudo is an implementation of the Raku programming language.
Information on Raku can be found at https://raku.org/.
-
-Optional Dependencies
+Optional dependencies:
Install the raku-Readline package or rlwrap to enable command line
editing in the Rakudo interpreter.
diff --git a/perl/rakudo/rakudo.SlackBuild b/perl/rakudo/rakudo.SlackBuild
index 2d5fee4d31..b1f183d188 100644
--- a/perl/rakudo/rakudo.SlackBuild
+++ b/perl/rakudo/rakudo.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for rakudo
-# Copyright 2018-2019 Andreas Voegele <andreas@andreasvoegele.com>
+# Copyright 2018-2020 Andreas Voegele <andreas@andreasvoegele.com>
#
# Permission to use, copy, modify, and distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
@@ -17,7 +17,7 @@
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
PRGNAM=rakudo
-VERSION=${VERSION:-2019.11}
+VERSION=${VERSION:-2020.01}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -68,6 +68,8 @@ find -L . \
# The package manager will remove old files.
sed -i 's/\$cfg->clean_old_p6_libs;//' Configure.pl
+sed -i 's,\.perl6/rakudo-history,.raku/rakudo-history,' src/core.c/REPL.pm6
+
perl Configure.pl \
--prefix=/usr \
--backends=$BACKENDS
@@ -99,7 +101,7 @@ chmod 755 $PKG/usr/bin/raku-install-dist
ln -s raku-install-dist $PKG/usr/bin/perl6-install-dist
# Create rakudo.csh and rakudo.sh in /etc/profile.d.
-BINDIRS='$HOME/.perl6/bin:/usr/share/perl6/site/bin:/usr/share/perl6/vendor/bin'
+BINDIRS='$HOME/.raku/bin:/usr/share/perl6/site/bin:/usr/share/perl6/vendor/bin'
mkdir -p $PKG/etc/profile.d
cat << EOF > $PKG/etc/profile.d/rakudo.csh.new
#!/bin/csh
@@ -117,7 +119,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- CREDITS LICENSE README.md \
+ CREDITS LICENSE README.md docs/ChangeLog \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/perl/rakudo/rakudo.info b/perl/rakudo/rakudo.info
index 19dcf01d4d..ea36d6317b 100644
--- a/perl/rakudo/rakudo.info
+++ b/perl/rakudo/rakudo.info
@@ -1,8 +1,8 @@
PRGNAM="rakudo"
-VERSION="2019.11"
+VERSION="2020.01"
HOMEPAGE="https://rakudo.org/"
-DOWNLOAD="https://github.com/rakudo/rakudo/releases/download/2019.11/rakudo-2019.11.tar.gz"
-MD5SUM="a9ac5b2687aaa5e91f5b609cf63274da"
+DOWNLOAD="https://github.com/rakudo/rakudo/releases/download/2020.01/rakudo-2020.01.tar.gz"
+MD5SUM="6d129d8ffefdf7f6a9f8baa10c91db7a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="nqp"