[arch-commits] Commit in perl-archive-tar/repos (extra-x86_64 extra-x86_64/PKGBUILD)

François Charette francois at archlinux.org
Thu Feb 19 15:00:14 UTC 2009


    Date: Thursday, February 19, 2009 @ 10:00:13
  Author: francois
Revision: 27341

Merged revisions 356,27339 via svnmerge from 
svn+ssh://archlinux.org/srv/svn-packages/perl-archive-tar/trunk

........
  r356 | aaron | 2008-04-19 00:56:27 +0200 (Sat, 19 Apr 2008) | 1 line
  
  Added svn:keywords to all PKGBUILDs
........
  r27339 | francois | 2009-02-19 15:39:31 +0100 (Thu, 19 Feb 2009) | 1 line
  
  upgpkg: perl-archive-tar 1.44-1
........

Modified:
  perl-archive-tar/repos/extra-x86_64/	(properties)
  perl-archive-tar/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   26 ++++++++++----------------
 1 file changed, 10 insertions(+), 16 deletions(-)


Property changes on: perl-archive-tar/repos/extra-x86_64
___________________________________________________________________
Modified: svnmerge-integrated
   - /perl-archive-tar/trunk:1
   + /perl-archive-tar/trunk:1-27340

Modified: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2009-02-19 14:58:52 UTC (rev 27340)
+++ extra-x86_64/PKGBUILD	2009-02-19 15:00:13 UTC (rev 27341)
@@ -1,30 +1,24 @@
 # $Id$
-# Maintainer: Dale Blount <dale at archlinux.org>
+# Maintainer: Firmicus <francois.archlinux.org>
 
 pkgname=perl-archive-tar
-pkgver=1.34
+pkgver=1.44
 pkgrel=1
 pkgdesc="Perl module for manipulations of tar archives"
 arch=(i686 x86_64)
 license=('PerlArtistic')
 url="http://search.cpan.org/dist/Archive-Tar/"
-depends=('perl-io-zlib')
+depends=('perl>=5.10.0')
+optdepends=('perl-text-diff:	to use the utility ptardiff')
 options=(!emptydirs)
 source=(http://search.cpan.org/CPAN/authors/id/K/KA/KANE/Archive-Tar-${pkgver}.tar.gz)
-md5sums=('0abdbc5ace1cc5696faeb7e9a058dad2')
+md5sums=('c339b845681f37f7107690072187ea1c')
 
 build() {
-  cd ${startdir}/src/Archive-Tar-${pkgver}
-  # Force module installation to "current" perl directories.
-  eval `perl -V:archname`
-  PERL_MM_USE_DEFAULT=1 perl Makefile.PL \
-      INSTALLARCHLIB=/usr/lib/perl5/current/${archname} \
-      INSTALLSITELIB=/usr/lib/perl5/site_perl/current \
-      INSTALLSITEARCH=/usr/lib/perl5/site_perl/current/${archname}
+  cd $srcdir/Archive-Tar-${pkgver}
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL -n INSTALLDIRS=vendor || return 1 
   make || return 1
-  make install DESTDIR=${startdir}/pkg
-
-  # remove perllocal.pod and .packlist
-  find ${startdir}/pkg -name perllocal.pod -delete
-  find ${startdir}/pkg -name .packlist -delete
+  make install DESTDIR=$pkgdir || return 1
+  find $pkgdir -name '.packlist' -delete
+  find $pkgdir -name '*.pod' -delete
 }




More information about the arch-commits mailing list