[arch-commits] CVS update of extra/lib/perl-html-tagset (PKGBUILD)
Kevin Piche
kevin at archlinux.org
Thu Jan 3 02:35:39 UTC 2008
Date: Wednesday, January 2, 2008 @ 21:35:39
Author: kevin
Path: /home/cvs-extra/extra/lib/perl-html-tagset
Modified: PKGBUILD (1.6 -> 1.7)
upgpkg: perl-html-tagset 3.10-3
Updated for new perl policy
----------+
PKGBUILD | 25 +++++++++++--------------
1 file changed, 11 insertions(+), 14 deletions(-)
Index: extra/lib/perl-html-tagset/PKGBUILD
diff -u extra/lib/perl-html-tagset/PKGBUILD:1.6 extra/lib/perl-html-tagset/PKGBUILD:1.7
--- extra/lib/perl-html-tagset/PKGBUILD:1.6 Sun Sep 2 09:18:46 2007
+++ extra/lib/perl-html-tagset/PKGBUILD Wed Jan 2 21:35:39 2008
@@ -1,31 +1,28 @@
-# $Id: PKGBUILD,v 1.6 2007/09/02 13:18:46 jgc Exp $
+# $Id: PKGBUILD,v 1.7 2008/01/03 02:35:39 kevin Exp $
# Maintainer: kevin <kevin at archlinux.org>
# Contributor: Manolis Tzanidakis
pkgname=perl-html-tagset
+_realname=HTML-Tagset
pkgver=3.10
-pkgrel=2
+pkgrel=3
pkgdesc="Data tables useful in parsing HTML"
arch=(i686 x86_64)
license=('PerlArtistic')
-url="http://search.cpan.org/dist/HTML-Tagset"
-depends=('perl')
+url="http://search.cpan.org/dist/${_realname}/"
+depends=('perl>=5.10.0')
replaces=('html-tagset')
provides=('html-tagset')
options=(!emptydirs)
-source=(http://www.cpan.org/authors/id/P/PE/PETDANCE/HTML-Tagset-$pkgver.tar.gz)
+source=(http://www.cpan.org/authors/id/P/PE/PETDANCE/${_realname}-${pkgver}.tar.gz)
md5sums=('89bdd351272ccd285fa61c5b2ce451ab')
build() {
- cd $startdir/src/HTML-Tagset-$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}
- make || return 1
- make install DESTDIR=${startdir}/pkg
+ cd ${startdir}/src/${_realname}-${pkgver}
+ # install module in vendor directories.
+ PERL_MM_USE_DEFAULT=1 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