[arch-commits] CVS update of extra/lib/perl-archive-tar (PKGBUILD)
Jan de Groot
jgc at archlinux.org
Sun Sep 2 13:41:00 UTC 2007
Date: Sunday, September 2, 2007 @ 09:41:00
Author: jgc
Path: /home/cvs-extra/extra/lib/perl-archive-tar
Modified: PKGBUILD (1.5 -> 1.6)
upgpkg: perl-archive-tar 1.34-1
use new perl methods
----------+
PKGBUILD | 27 +++++++++++++++------------
1 file changed, 15 insertions(+), 12 deletions(-)
Index: extra/lib/perl-archive-tar/PKGBUILD
diff -u extra/lib/perl-archive-tar/PKGBUILD:1.5 extra/lib/perl-archive-tar/PKGBUILD:1.6
--- extra/lib/perl-archive-tar/PKGBUILD:1.5 Sun Jun 17 12:54:28 2007
+++ extra/lib/perl-archive-tar/PKGBUILD Sun Sep 2 09:40:59 2007
@@ -1,27 +1,30 @@
-# $Id: PKGBUILD,v 1.5 2007/06/17 16:54:28 jgc Exp $
+# $Id: PKGBUILD,v 1.6 2007/09/02 13:40:59 jgc Exp $
# Maintainer: Dale Blount <dale at archlinux.org>
pkgname=perl-archive-tar
-pkgver=1.32
-pkgrel=2
+pkgver=1.34
+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>=5.8.8' 'perl-io-zlib')
+depends=('perl-io-zlib')
+options=(!emptydirs)
source=(http://search.cpan.org/CPAN/authors/id/K/KA/KANE/Archive-Tar-${pkgver}.tar.gz)
-md5sums=('1e34c57753506996184e6853e24e20af')
+md5sums=('0abdbc5ace1cc5696faeb7e9a058dad2')
build() {
cd ${startdir}/src/Archive-Tar-${pkgver}
# Force module installation to "current" perl directories.
eval `perl -V:archname`
- perl Makefile.PL \
- INSTALLARCHLIB=/usr/lib/perl5/current/${archname} \
- INSTALLSITELIB=/usr/lib/perl5/site_perl/current \
- INSTALLSITEARCH=/usr/lib/perl5/site_perl/current/${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}
make || return 1
- make DESTDIR=${startdir}/pkg install
+ make install DESTDIR=${startdir}/pkg
- find ${startdir}/pkg -name '.packlist' -exec rm -f {} \;
- find ${startdir}/pkg -name 'perllocal.pod' -exec rm -f {} \;
+ # remove perllocal.pod and .packlist
+ find ${startdir}/pkg -name perllocal.pod -delete
+ find ${startdir}/pkg -name .packlist -delete
}
More information about the arch-commits
mailing list