diff --git a/packages/perl/Cwd.pm.patch b/packages/perl/Cwd.pm.patch index 333feeb1e..52eebc612 100644 --- a/packages/perl/Cwd.pm.patch +++ b/packages/perl/Cwd.pm.patch @@ -13,12 +13,3 @@ diff -u -r ../perl-5.22.0/dist/PathTools/Cwd.pm ./dist/PathTools/Cwd.pm ) { if( -x $try ) { $pwd_cmd = $try; -@@ -198,7 +197,7 @@ - if ($^O =~ /android/) { - # If targetsh is executable, then we're either a full - # perl, or a miniperl for a native build. -- if (-x $Config::Config{targetsh}) { -+ if (defined($Config::Config{targetsh}) && -x $Config::Config{targetsh}) { - $pwd_cmd = "$Config::Config{targetsh} -c pwd" - } - else { diff --git a/packages/perl/build.sh b/packages/perl/build.sh index 0a5e57885..ba73bcfe3 100644 --- a/packages/perl/build.sh +++ b/packages/perl/build.sh @@ -1,11 +1,10 @@ TERMUX_PKG_HOMEPAGE=https://www.perl.org/ TERMUX_PKG_DESCRIPTION="Capable, feature-rich programming language" TERMUX_PKG_LICENSE="Artistic-License-2.0" -TERMUX_PKG_VERSION=(5.28.2 - 1.2.3) -TERMUX_PKG_REVISION=2 -TERMUX_PKG_SHA256=(aa95456dddb3eb1cc5475fed4e08f91876bea71fb636fba6399054dfbabed6c7 - 84583a1bb5f3a2c64d13d031386c114382e5c62955c6f84a27cec8318536627c) +TERMUX_PKG_VERSION=(5.30.0 + 1.3) +TERMUX_PKG_SHA256=(851213c754d98ccff042caa40ba7a796b2cee88c5325f121be5cbb61bbf975f2 + 49edea1ea2cd6c5c47386ca71beda8d150c748835781354dbe7f75b1df27e703) TERMUX_PKG_SRCURL=(http://www.cpan.org/src/5.0/perl-${TERMUX_PKG_VERSION}.tar.gz https://github.com/arsv/perl-cross/releases/download/${TERMUX_PKG_VERSION[1]}/perl-cross-${TERMUX_PKG_VERSION[1]}.tar.gz) TERMUX_PKG_BUILD_IN_SRC="yes"