[arch-commits] CVS update of extra/lib/perl-html-parser (PKGBUILD)

Kevin Piche kevin at archlinux.org
Thu Jan 3 02:41:59 UTC 2008


    Date: Wednesday, January 2, 2008 @ 21:41:59
  Author: kevin
    Path: /home/cvs-extra/extra/lib/perl-html-parser

Modified: PKGBUILD (1.9 -> 1.10)

upgpkg: perl-html-parser 3.56-3
Rebuilt for perl 5.10.0 and new perl directories


----------+
 PKGBUILD |   20 ++++++++------------
 1 file changed, 8 insertions(+), 12 deletions(-)


Index: extra/lib/perl-html-parser/PKGBUILD
diff -u extra/lib/perl-html-parser/PKGBUILD:1.9 extra/lib/perl-html-parser/PKGBUILD:1.10
--- extra/lib/perl-html-parser/PKGBUILD:1.9	Sat Sep  1 13:41:49 2007
+++ extra/lib/perl-html-parser/PKGBUILD	Wed Jan  2 21:41:58 2008
@@ -1,16 +1,16 @@
-# $Id: PKGBUILD,v 1.9 2007/09/01 17:41:49 jgc Exp $
+# $Id: PKGBUILD,v 1.10 2008/01/03 02:41:58 kevin Exp $
 # Maintainer: Kevin Piche <kevin at archlinux.org>
 # Contributor: Manolis Tzanidakis
 
 pkgname=perl-html-parser
 _realname=HTML-Parser
 pkgver=3.56
-pkgrel=2
+pkgrel=3
 pkgdesc="Perl HTML parser class"
 arch=(i686 x86_64)
 license=('PerlArtistic')
-url="http://search.cpan.org/~gaas/${_realname}-${pkgver}"
-depends=('perl-html-tagset')
+url="http://search.cpan.org/dist/${_realname}/"
+depends=('perl-html-tagset' 'perl>=5.10.0')
 options=(!emptydirs)
 replaces=('html-parser')
 provides=('html-parser')
@@ -19,14 +19,10 @@
 
 build() {
   cd ${startdir}/src/${_realname}-${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}
-  make || return 1
-  make install DESTDIR=${startdir}/pkg
+  # install module in vendor directories.
+  perl Makefile.PL INSTALLDIRS=vendor || return 1
+  make MAN1EXT=1p MAN3EXT=3pm  || return 1
+  make install MAN1EXT=1p MAN3EXT=3pm DESTDIR=${startdir}/pkg || return 1
 
   # remove perllocal.pod and .packlist
   find ${startdir}/pkg -name perllocal.pod -delete




More information about the arch-commits mailing list