diff options
Diffstat (limited to 'perl/rakudo/rakudo.SlackBuild')
-rw-r--r-- | perl/rakudo/rakudo.SlackBuild | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/perl/rakudo/rakudo.SlackBuild b/perl/rakudo/rakudo.SlackBuild index 0ef75a6005..4060f7398c 100644 --- a/perl/rakudo/rakudo.SlackBuild +++ b/perl/rakudo/rakudo.SlackBuild @@ -20,7 +20,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=rakudo -VERSION=${VERSION:-2024.12} +VERSION=${VERSION:-2025.05} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -35,9 +35,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -123,6 +120,8 @@ export PATH=\$PATH:$BINDIRS EOF chmod 755 $PKG/etc/profile.d/rakudo.sh +find $PKG/usr/share/perl6/core -type f -empty -delete || true + 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 |