[arch-commits] Commit in perl/repos (testing-i686 testing-i686/PKGBUILD)

François Charette francois at archlinux.org
Thu Oct 8 09:21:54 EDT 2009


    Date: Thursday, October 8, 2009 @ 09:21:54
  Author: francois
Revision: 54318

Merged revisions 54317 via svnmerge from 
svn+ssh://gerolde.archlinux.org/srv/svn-packages/perl/trunk

........
  r54317 | francois | 2009-10-08 15:21:15 +0200 (Thu, 08 Oct 2009) | 2 lines
  
  upgpkg: perl 5.10.1-5
      keep core pod files (FS#16488)
........

Modified:
  perl/repos/testing-i686/	(properties)
  perl/repos/testing-i686/PKGBUILD

----------+
 PKGBUILD |   15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)


Property changes on: perl/repos/testing-i686
___________________________________________________________________
Modified: svnmerge-integrated
   - /perl/trunk:1-53904
   + /perl/trunk:1-54317

Modified: testing-i686/PKGBUILD
===================================================================
--- testing-i686/PKGBUILD	2009-10-08 13:21:15 UTC (rev 54317)
+++ testing-i686/PKGBUILD	2009-10-08 13:21:54 UTC (rev 54318)
@@ -4,7 +4,7 @@
 # Contributor: francois <francois.archlinux.org> 
 pkgname=perl
 pkgver=5.10.1
-pkgrel=4
+pkgrel=5
 pkgdesc="Practical Extraction and Report Language"
 arch=(i686 x86_64)
 license=('GPL' 'PerlArtistic')
@@ -128,7 +128,7 @@
 perl-xsloader=0.10
 perlio-via-quotedprint=0.06
 )
-options=('!makeflags')
+options=('!makeflags' '!purge')
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
@@ -184,6 +184,17 @@
       ln -sf c2ph pstruct; ln -sf s2p psed)
   grep -Rl "${pkgdir}" ${pkgdir}/usr | \
       xargs sed -i "s^${pkgdir}^^g"
+
+  # 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 .packlist -delete
 }
 md5sums=('82400c6d34f7b7b43d0196c76cd2bbb1'
          '9c4e3e56d71f123e92a68986df5ea924'



More information about the arch-commits mailing list