aboutsummaryrefslogtreecommitdiff
path: root/perl/rakudo/rakudo.SlackBuild
diff options
context:
space:
mode:
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'