aboutsummaryrefslogtreecommitdiff
path: root/perl/rakudo/rakudo.SlackBuild
diff options
context:
space:
mode:
authorAndreas Voegele <andreas@andreasvoegele.com>2019-12-01 00:55:57 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-12-01 01:08:31 +0700
commitbf62be74b806213aaa83341b87725b332ea8fd9f (patch)
tree2e82d9efdcddb70d3c06b815123fa2babdef9d2c /perl/rakudo/rakudo.SlackBuild
parentd1eeb3b329d51c8a859824abf9f1b1c419a1b6aa (diff)
perl/rakudo: Updated for version 2019.11.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl/rakudo/rakudo.SlackBuild')
-rw-r--r--perl/rakudo/rakudo.SlackBuild22
1 files changed, 19 insertions, 3 deletions
diff --git a/perl/rakudo/rakudo.SlackBuild b/perl/rakudo/rakudo.SlackBuild
index 6e515a893f38a..2d5fee4d31cc2 100644
--- a/perl/rakudo/rakudo.SlackBuild
+++ b/perl/rakudo/rakudo.SlackBuild
@@ -17,7 +17,7 @@
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
PRGNAM=rakudo
-VERSION=${VERSION:-2019.07.1}
+VERSION=${VERSION:-2019.11}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -78,9 +78,25 @@ if [ "${MAKETEST:-no}" = "yes" ]; then
fi
env -u LD_PRELOAD make install DESTDIR=$PKG
+if [ -e $PKG/usr/bin/rakudo ]; then
+ ln -sf rakudo $PKG/usr/bin/raku
+fi
+
+if [ -e $PKG/usr/bin/rakudo-debug ]; then
+ ln -sf rakudo-debug $PKG/usr/bin/raku-debug
+fi
+
+for i in $PKG/usr/bin/perl6*; do
+ j=$(basename $i | sed 's/perl6/rakudo/')
+ if [ -e $PKG/usr/bin/$j ]; then
+ ln -sf $j $i
+ fi
+done
+
# Arch Linux uses the name perl6-install-dist.
-cp tools/install-dist.p? $PKG/usr/bin/perl6-install-dist
-chmod 755 $PKG/usr/bin/perl6-install-dist
+cp tools/install-dist.p? $PKG/usr/bin/raku-install-dist
+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'