mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
perl/rakudo: Updated for version 2020.01.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
fffd496fc0
commit
90da833747
3 changed files with 10 additions and 9 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue