[arch-commits] Commit in perl-archive-tar/trunk (PKGBUILD)
François Charette
francois at archlinux.org
Thu Feb 19 14:39:31 UTC 2009
Date: Thursday, February 19, 2009 @ 09:39:31
Author: francois
Revision: 27339
upgpkg: perl-archive-tar 1.44-1
Modified:
perl-archive-tar/trunk/PKGBUILD
----------+
PKGBUILD | 26 ++++++++++----------------
1 file changed, 10 insertions(+), 16 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2009-02-19 14:14:33 UTC (rev 27338)
+++ PKGBUILD 2009-02-19 14:39:31 UTC (rev 27339)
@@ -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