[arch-commits] CVS update of core/base/perl (PKGBUILD perl.install)

Kevin Piche kevin at archlinux.org
Wed Jan 23 04:18:33 UTC 2008


    Date: Tuesday, January 22, 2008 @ 23:18:33
  Author: kevin
    Path: /home/cvs-core/core/base/perl

Modified: PKGBUILD (1.55 -> 1.56) perl.install (1.20 -> 1.21)

upgpkg: perl 5.10.0-2
Added a provides array for modules now in core perl, changed man page location for FHS


--------------+
 PKGBUILD     |   29 ++++++++++++++++++++++++-----
 perl.install |    7 +++++++
 2 files changed, 31 insertions(+), 5 deletions(-)


Index: core/base/perl/PKGBUILD
diff -u core/base/perl/PKGBUILD:1.55 core/base/perl/PKGBUILD:1.56
--- core/base/perl/PKGBUILD:1.55	Tue Jan  1 00:26:07 2008
+++ core/base/perl/PKGBUILD	Tue Jan 22 23:18:33 2008
@@ -1,26 +1,40 @@
-# $Id: PKGBUILD,v 1.55 2008/01/01 05:26:07 kevin Exp $
+# $Id: PKGBUILD,v 1.56 2008/01/23 04:18:33 kevin Exp $
 # Maintainer: judd <jvinet at zeroflux.org>
 pkgname=perl
 pkgver=5.10.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Practical Extraction and Report Language"
 arch=(i686 x86_64) 
 license=('GPL' 'PerlArtistic')
 url="http://www.perl.org"
 groups=('base')
 depends=('gdbm' 'db>=4.6' 'coreutils' 'glibc' 'sh')
+# for site_perl this is needed!
+#test without options=('emptydirs')
 source=(http://www.perl.com/CPAN/src/perl-$pkgver.tar.gz
 #   http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/DB_File-1.814.tar.gz
     perl-5.8.6-picdl.patch0
     perl-5.10.0-archlinux-cpan-installdir.patch
     perl-5.10.0-archlinux-inc-order.patch)
 install=perl.install
+provides=(
+# extra
+perl-archive-tar perl-compress-raw-zlib perl-compress-zlib
+perl-extutils-cbuilder perl-io-compress-base perl-io-compress-zlib perl-io-zlib
+perl-module-pluggable perl-pod-escapes perl-pod-simple perl-module-build
+perl-version
+
+# aur
+perl-archive-extract perl-cpanplus perl-digest-sha perl-extutils-parsexs
+perl-file-fetch perl-ipc-cmd perl-locale-maketext-simple perl-log-message
+perl-log-message-simple perl-module-corelist perl-module-load
+perl-module-load-conditional perl-module-loaded perl-module-pluggable
+perl-object-accessor perl-params-check perl-term-ui perl-time-piece
+)
 md5sums=('d2c39b002ebfd2c3c5dba589365c5a71'
          '319b56a7ce715fb7a494fe4d5cb9474c'
          '7183a5a0b9332d135e1e52f582c5d4e4'
          '0e4853bd75ee36b8f4c70b78c707b2fa')
-# for site_perl this is needed!
-options=('emptydirs')
 
 build() {
   cd $startdir/src/$pkgname-$pkgver
@@ -46,7 +60,6 @@
   fi
   ./Configure -des -Dusethreads -Doptimize="$CFLAGS" -Dprefix=/usr \
     -Dinstallprefix=$startdir/pkg/usr -Dvendorprefix=/usr \
-    -Dman1dir=/usr/man/man1 -Dman3dir=/usr/man/man3 \
     -Dprivlib=/usr/share/perl5/core_perl \
     -Darchlib=/usr/lib/perl5/core_perl \
     -Dsitelib=/usr/share/perl5/site_perl/$pkgver \
@@ -55,9 +68,15 @@
     -Dvendorarch=/usr/lib/perl5/vendor_perl \
     -Dotherlibdirs=/usr/lib/perl5/current:/usr/lib/perl5/site_perl/current \
     -Dman1ext=1perl -Dman3ext=3perl $arch_opts
+    #-Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 \
 
   make || return 1
   make install
+
+  # Change man page extensions for site and vendor module builds.
+  sed -e '/^man1ext=/ s/1perl/1p/' -e '/^man3ext=/ s/3perl/3pm/' \
+      -i ${startdir}/pkg/usr/lib/perl5/core_perl/Config_heavy.pl
+
   (cd $startdir/pkg/usr/bin; mv perl$pkgver perl; \
       ln -sf c2ph pstruct; ln -sf s2p psed)
   grep -Rl "$startdir/pkg" $startdir/pkg/usr | \
Index: core/base/perl/perl.install
diff -u core/base/perl/perl.install:1.20 core/base/perl/perl.install:1.21
--- core/base/perl/perl.install:1.20	Tue Jan  1 00:26:08 2008
+++ core/base/perl/perl.install	Tue Jan 22 23:18:33 2008
@@ -20,6 +20,13 @@
   echo "  rebuild the configuration file .../CPAN/Config.pm by using the CPAN"
   echo "  command: o conf init"
   echo 
+  echo "  The following packages can be removed since the modules are now"
+  echo "  included in the standard perl library:"
+  echo "    perl-archive-tar  perl-compress-raw-zlib  perl-compress-zlib"
+  echo "    perl-extutils-cbuilder  perl-io-compress-base  perl-io-compress-zlib"
+  echo "    perl-io-zlib  perl-module-pluggable  perl-pod-escapes  perl-pod-simple"
+  echo "    perl-module-build  perl-version"
+  echo 
 }
 
 # arg 1:  the new package version




More information about the arch-commits mailing list