[arch-commits] CVS update of extra/lib/perl-html-tagset (PKGBUILD)
Jan de Groot
jgc at archlinux.org
Sun Sep 2 13:18:46 UTC 2007
Date: Sunday, September 2, 2007 @ 09:18:46
Author: jgc
Path: /home/cvs-extra/extra/lib/perl-html-tagset
Modified: PKGBUILD (1.5 -> 1.6)
upgpkg: perl-html-tagset 3.10-2
use new perl methods
----------+
PKGBUILD | 31 +++++++++++++++++--------------
1 file changed, 17 insertions(+), 14 deletions(-)
Index: extra/lib/perl-html-tagset/PKGBUILD
diff -u extra/lib/perl-html-tagset/PKGBUILD:1.5 extra/lib/perl-html-tagset/PKGBUILD:1.6
--- extra/lib/perl-html-tagset/PKGBUILD:1.5 Sun May 28 06:19:46 2006
+++ extra/lib/perl-html-tagset/PKGBUILD Sun Sep 2 09:18:46 2007
@@ -1,31 +1,34 @@
-# $Id: PKGBUILD,v 1.5 2006/05/28 10:19:46 notz Exp $
+# $Id: PKGBUILD,v 1.6 2007/09/02 13:18:46 jgc Exp $
# Maintainer: kevin <kevin at archlinux.org>
# Contributor: Manolis Tzanidakis
pkgname=perl-html-tagset
pkgver=3.10
-pkgrel=1
+pkgrel=2
pkgdesc="Data tables useful in parsing HTML"
arch=(i686 x86_64)
-url="http://search.cpan.org/~petdance/HTML-Tagset-$pkgver"
-depends=('perl>=5.8.4-1')
-source=(http://www.cpan.org/authors/id/P/PE/PETDANCE/HTML-Tagset-$pkgver.tar.gz)
-md5sums=('89bdd351272ccd285fa61c5b2ce451ab')
+license=('PerlArtistic')
+url="http://search.cpan.org/dist/HTML-Tagset"
+depends=('perl')
replaces=('html-tagset')
provides=('html-tagset')
+options=(!emptydirs)
+source=(http://www.cpan.org/authors/id/P/PE/PETDANCE/HTML-Tagset-$pkgver.tar.gz)
+md5sums=('89bdd351272ccd285fa61c5b2ce451ab')
build() {
cd $startdir/src/HTML-Tagset-$pkgver
# Force module installation to "current" perl directories.
- /usr/bin/perl Makefile.PL \
- INSTALLARCHLIB=/usr/lib/perl5/current/${CARCH}-linux-thread-multi \
+ 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/${CARCH}-linux-thread-multi
- /usr/bin/make || return 1
- /usr/bin/make install DESTDIR=$startdir/pkg
+ INSTALLSITEARCH=/usr/lib/perl5/site_perl/current/${archname}
+ make || return 1
+ make install DESTDIR=${startdir}/pkg
- # remove perllocal.pod, .packlist, and empty dirs.
- /bin/rm -rf $startdir/pkg/usr/lib/perl5/current
- /bin/rm -rf $startdir/pkg/usr/lib/perl5/site_perl/current/${CARCH}-linux-thread-multi
+ # remove perllocal.pod and .packlist
+ find ${startdir}/pkg -name perllocal.pod -delete
+ find ${startdir}/pkg -name .packlist -delete
}
# vim: ts=2 sw=2 et ft=sh
More information about the arch-commits
mailing list