From 1dcf6f7573c87135e7a1e6bd21337a0fa2b3e0e3 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Thu, 9 May 2024 23:12:53 +0700 Subject: [PATCH] perl/perlbrew: Updated for version 0.98. Signed-off-by: Willy Sudiarto Raharjo --- perl/perlbrew/perlbrew.SlackBuild | 10 ++++------ perl/perlbrew/perlbrew.info | 6 +++--- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/perl/perlbrew/perlbrew.SlackBuild b/perl/perlbrew/perlbrew.SlackBuild index 8a0365d8c8..d51ca8033c 100644 --- a/perl/perlbrew/perlbrew.SlackBuild +++ b/perl/perlbrew/perlbrew.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perlbrew -VERSION=${VERSION:-0.85} +VERSION=${VERSION:-0.98} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -40,9 +40,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 @@ -81,12 +78,13 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT +export PERL_MM_USE_DEFAULT=1 MODULEBUILDRC=/dev/null perl Build.PL \ --installdirs vendor \ --config installvendorman1dir=/usr/man/man1 \ --config installvendorman3dir=/usr/man/man3 ./Build -./Build test ./Build install \ --destdir $PKG @@ -97,7 +95,7 @@ find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f find $PKG -depth -type d -empty -delete || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a Changes LICENSE README README.md doc/* $PKG/usr/doc/$PRGNAM-$VERSION +cp -a Changes LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/perl/perlbrew/perlbrew.info b/perl/perlbrew/perlbrew.info index 93b49f6bf7..f2c0c29aed 100644 --- a/perl/perlbrew/perlbrew.info +++ b/perl/perlbrew/perlbrew.info @@ -1,8 +1,8 @@ PRGNAM="perlbrew" -VERSION="0.85" +VERSION="0.98" HOMEPAGE="https://perlbrew.pl/" -DOWNLOAD="https://cpan.metacpan.org/authors/id/G/GU/GUGOD/App-perlbrew-0.85.tar.gz" -MD5SUM="0a86d1393206c4a40efb74776f8794d1" +DOWNLOAD="https://cpan.metacpan.org/authors/id/G/GU/GUGOD/App-perlbrew-0.98.tar.gz" +MD5SUM="30ac30758526e57d8b9b8c34ae6ae526" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-CPAN-Perl-Releases perl-Devel-PatchPerl perl-File-Which perl-Module-Build-Tiny perl-IO-All perl-Path-Class perl-Test-Exception perl-Test-Output perl-Test-Spec perl-Test-TempDir-Tiny perl-local-lib"