[arch-commits] CVS update of extra/lib/perl-io-zlib (PKGBUILD)
Jan de Groot
jgc at archlinux.org
Sun Sep 2 15:17:41 UTC 2007
Date: Sunday, September 2, 2007 @ 11:17:41
Author: jgc
Path: /home/cvs-extra/extra/lib/perl-io-zlib
Modified: PKGBUILD (1.5 -> 1.6)
upgpkg: perl-io-zlib 1.07-1
use new perl methods
----------+
PKGBUILD | 28 +++++++++++++++-------------
1 file changed, 15 insertions(+), 13 deletions(-)
Index: extra/lib/perl-io-zlib/PKGBUILD
diff -u extra/lib/perl-io-zlib/PKGBUILD:1.5 extra/lib/perl-io-zlib/PKGBUILD:1.6
--- extra/lib/perl-io-zlib/PKGBUILD:1.5 Sun Jun 17 12:54:51 2007
+++ extra/lib/perl-io-zlib/PKGBUILD Sun Sep 2 11:17:41 2007
@@ -1,28 +1,30 @@
-# $Id: PKGBUILD,v 1.5 2007/06/17 16:54:51 jgc Exp $
+# $Id: PKGBUILD,v 1.6 2007/09/02 15:17:41 jgc Exp $
# Maintainer: Dale Blount <dale at archlinux.org>
pkgname=perl-io-zlib
-pkgver=1.05
+pkgver=1.07
pkgrel=1
pkgdesc="Perl module for IO:: Style Interface to Compress::Zlib"
arch=(i686 x86_64)
-url="http://search.cpan.org/~tomhughes/IO-Zlib-${pkgver}/Zlib.pm"
-depends=('perl>=5.8.8' 'perl-compress-zlib')
+license=('PerlArtistic')
+url="http://search.cpan.org/dist/IO-Zlib"
+depends=('perl-compress-zlib')
+options=(!emptydirs)
source=(http://search.cpan.org/CPAN/authors/id/T/TO/TOMHUGHES/IO-Zlib-${pkgver}.tar.gz)
-md5sums=('06ca28954fc92cbee67c807cc6d7f599')
+md5sums=('06aa91c973aac0985e439ab8660e687f')
build() {
cd ${startdir}/src/IO-Zlib-${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
-
- find ${startdir}/pkg -name '.packlist' -exec rm -f {} \;
- find ${startdir}/pkg -name 'perllocal.pod' -exec rm -f {} \;
+ make install DESTDIR=${startdir}/pkg
+ # 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