diff options
Diffstat (limited to 'perl/rakudo/rakudo.SlackBuild')
-rw-r--r-- | perl/rakudo/rakudo.SlackBuild | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/perl/rakudo/rakudo.SlackBuild b/perl/rakudo/rakudo.SlackBuild index b1f183d1881db..c8df93a9168c8 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:-2020.01} +VERSION=${VERSION:-2020.02} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -68,8 +68,6 @@ 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 @@ -103,16 +101,16 @@ ln -s raku-install-dist $PKG/usr/bin/perl6-install-dist # Create rakudo.csh and rakudo.sh in /etc/profile.d. 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 +cat << EOF > $PKG/etc/profile.d/rakudo.csh #!/bin/csh setenv PATH \${PATH}:$BINDIRS EOF -chmod 755 $PKG/etc/profile.d/rakudo.csh.new -cat << EOF > $PKG/etc/profile.d/rakudo.sh.new +chmod 755 $PKG/etc/profile.d/rakudo.csh +cat << EOF > $PKG/etc/profile.d/rakudo.sh #!/bin/sh export PATH=\$PATH:$BINDIRS EOF -chmod 755 $PKG/etc/profile.d/rakudo.sh.new +chmod 755 $PKG/etc/profile.d/rakudo.sh find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true @@ -125,7 +123,6 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc -cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |