aboutsummaryrefslogtreecommitdiff
path: root/perl/rakudo/rakudo.SlackBuild
diff options
context:
space:
mode:
authorAndreas Voegele <andreas@andreasvoegele.com>2020-02-29 07:24:36 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-02-29 07:24:36 +0700
commitd02055a7a556a4afec2ce5f6f43ef5a0cc2868ce (patch)
tree225d8a93adf5011a0ac4a31517cbd53351be6168 /perl/rakudo/rakudo.SlackBuild
parentf10ea7d40ffa93e85966ee0a68936bb98345fdfc (diff)
perl/rakudo: Updated for version 2020.02.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl/rakudo/rakudo.SlackBuild')
-rw-r--r--perl/rakudo/rakudo.SlackBuild13
1 files changed, 5 insertions, 8 deletions
diff --git a/perl/rakudo/rakudo.SlackBuild b/perl/rakudo/rakudo.SlackBuild
index b1f183d1881d..c8df93a9168c 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}