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

Florian Pritz bluewind at archlinux.org
Thu Sep 8 14:20:18 UTC 2016


    Date: Thursday, September 8, 2016 @ 14:20:17
  Author: bluewind
Revision: 275844

Fix FS#50661 - [perl] perldoc missing for core modules

upgpkg: perl 5.24.0-2

Modified:
  perl/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-09-08 08:30:48 UTC (rev 275843)
+++ PKGBUILD	2016-09-08 14:20:17 UTC (rev 275844)
@@ -7,7 +7,7 @@
 
 pkgname=perl
 pkgver=5.24.0
-pkgrel=1
+pkgrel=2
 pkgdesc="A highly capable, feature-rich programming language"
 arch=(i686 x86_64)
 license=('GPL' 'PerlArtistic')
@@ -222,14 +222,6 @@
   rm "$pkgdir/usr/bin/perl$pkgver"
   (cd ${pkgdir}/usr/bin/core_perl;  ln -sf c2ph pstruct;)
 
-  # Remove all pod files *except* those under /usr/share/perl5/core_perl/pod/
-  # (FS#16488)
-  rm -f $pkgdir/usr/share/perl5/core_perl/*.pod
-  for d in $pkgdir/usr/share/perl5/core_perl/*; do
-    if [ -d $d -a $(basename $d) != "pod" ]; then
-      find $d -name *.pod -delete
-    fi
-  done
-  find $pkgdir/usr/lib -name *.pod -delete
+  find $pkgdir -name perllocal.pod -delete
   find $pkgdir -name .packlist -delete
 }



More information about the arch-commits mailing list