diff options
author | Andreas Voegele <andreas@andreasvoegele.com> | 2020-02-29 07:24:36 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-02-29 07:24:36 +0700 |
commit | d02055a7a556a4afec2ce5f6f43ef5a0cc2868ce (patch) | |
tree | 225d8a93adf5011a0ac4a31517cbd53351be6168 /perl/rakudo | |
parent | f10ea7d40ffa93e85966ee0a68936bb98345fdfc (diff) | |
download | slackbuilds-d02055a7a556a4afec2ce5f6f43ef5a0cc2868ce.tar.gz |
perl/rakudo: Updated for version 2020.02.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl/rakudo')
-rw-r--r-- | perl/rakudo/doinst.sh | 15 | ||||
-rw-r--r-- | perl/rakudo/rakudo.SlackBuild | 13 | ||||
-rw-r--r-- | perl/rakudo/rakudo.info | 6 |
3 files changed, 8 insertions, 26 deletions
diff --git a/perl/rakudo/doinst.sh b/perl/rakudo/doinst.sh deleted file mode 100644 index eed6e276bc..0000000000 --- a/perl/rakudo/doinst.sh +++ /dev/null @@ -1,15 +0,0 @@ -config() { - NEW="$1" - OLD="$(dirname $NEW)/$(basename $NEW .new)" - # If there's no config file by that name, mv it over: - if [ ! -r $OLD ]; then - mv $NEW $OLD - elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then - # toss the redundant copy - rm $NEW - fi - # Otherwise, we leave the .new copy for the admin to consider... -} - -config etc/profile.d/rakudo.csh.new -config etc/profile.d/rakudo.sh.new diff --git a/perl/rakudo/rakudo.SlackBuild b/perl/rakudo/rakudo.SlackBuild index b1f183d188..c8df93a916 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} diff --git a/perl/rakudo/rakudo.info b/perl/rakudo/rakudo.info index ea36d6317b..6c0541c12f 100644 --- a/perl/rakudo/rakudo.info +++ b/perl/rakudo/rakudo.info @@ -1,8 +1,8 @@ PRGNAM="rakudo" -VERSION="2020.01" +VERSION="2020.02" HOMEPAGE="https://rakudo.org/" -DOWNLOAD="https://github.com/rakudo/rakudo/releases/download/2020.01/rakudo-2020.01.tar.gz" -MD5SUM="6d129d8ffefdf7f6a9f8baa10c91db7a" +DOWNLOAD="https://github.com/rakudo/rakudo/releases/download/2020.02/rakudo-2020.02.tar.gz" +MD5SUM="45d201de16a7aba259f39e3f18aed09c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="nqp" |