perl/rakudo: Updated for version 2020.01.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Andreas Voegele 2020-02-15 08:47:25 +07:00 committed by Willy Sudiarto Raharjo
parent fffd496fc0
commit 90da833747
No known key found for this signature in database
GPG key ID: 887B8374D7333381
3 changed files with 10 additions and 9 deletions

View file

@ -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.

View file

@ -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

View file

@ -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"