diff options
author | Andreas Voegele <andreas@andreasvoegele.com> | 2020-02-15 08:47:25 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-02-15 08:47:25 +0700 |
commit | 90da8337479c720fed5b496de00bf695ea8605a3 (patch) | |
tree | cfc4aec1e543c5399683316981f673b55f0dc945 /perl/rakudo/rakudo.SlackBuild | |
parent | fffd496fc077961230da559c8bcca45ffed0be97 (diff) |
perl/rakudo: Updated for version 2020.01.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl/rakudo/rakudo.SlackBuild')
-rw-r--r-- | perl/rakudo/rakudo.SlackBuild | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/perl/rakudo/rakudo.SlackBuild b/perl/rakudo/rakudo.SlackBuild index 2d5fee4d31cc2..b1f183d1881db 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 |