[arch-commits] Commit in perl-perl4-corelibs/trunk (PKGBUILD)

Allan McRae allan at archlinux.org
Sun May 31 01:16:02 UTC 2020


    Date: Sunday, May 31, 2020 @ 01:16:01
  Author: allan
Revision: 387942

upgpkg: perl-perl4-corelibs 0.004-5: fix ftbfs, make package reproducible

Modified:
  perl-perl4-corelibs/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-31 01:02:41 UTC (rev 387941)
+++ PKGBUILD	2020-05-31 01:16:01 UTC (rev 387942)
@@ -2,7 +2,7 @@
 
 pkgname=perl-perl4-corelibs
 pkgver=0.004
-pkgrel=4
+pkgrel=5
 pkgdesc="Libraries historically supplied with Perl 4"
 arch=('any')
 url="https://metacpan.org/release/Perl4-CoreLibs"
@@ -13,6 +13,14 @@
 source=("https://search.cpan.org/CPAN/authors/id/Z/ZE/ZEFRAM/Perl4-CoreLibs-$pkgver.tar.gz")
 sha512sums=('71083f1640e95559ee4bc5a7f1bbe6beacec048a073e211ab7f6ee4de26463f6ae3d87e99e00a41ea8f2f93a5e96367bafe907ef3367e400de35123c22eb7b88')
 
+prepare() {
+  cd Perl4-CoreLibs-$pkgver
+
+  # issue in testsuite - delay issue until 2040...
+  # https://rt.cpan.org/Public/Bug/Display.html?id=131341
+  sed -i "s#< 70#< 90#" t/timelocal.t
+}
+
 build() {
   cd Perl4-CoreLibs-$pkgver
   perl Build.PL



More information about the arch-commits mailing list