updated on Sun Jan 15 08:01:04 UTC 2012
[aur-mirror.git] / perl-html-treebuilder-xpath / PKGBUILD
blobe0b748ad12c971d15e31d46a906142921f67c9a2
1 # Contributor: Caleb Cushing <xenoterracide@gmail.com>
2 # Generator  : CPANPLUS::Dist::Arch 0.16
3 pkgname='perl-html-treebuilder-xpath'
4 pkgver='0.11'
5 pkgrel='1'
6 pkgdesc="add XPath support to HTML::TreeBuilder"
7 arch=('i686' 'x86_64')
8 license=('PerlArtistic' 'GPL')
9 options=('!emptydirs')
10 depends=('perl' 'perl-html-tree' 'perl-xml-xpathengine>=0.12')
11 url='http://search.cpan.org/dist/HTML-TreeBuilder-XPath'
12 source=('http://search.cpan.org/CPAN/authors/id/M/MI/MIROD/HTML-TreeBuilder-XPath-0.11.tar.gz')
13 md5sums=('45b93bd3c12d5270398c2f12e5fc1beb')
15 build() {
16   _DISTDIR="${srcdir}/HTML-TreeBuilder-XPath-0.11"
17   export PERL_MM_USE_DEFAULT=1
18   { cd "$_DISTDIR" &&
19     perl Makefile.PL INSTALLDIRS=vendor &&
20     make &&
21     make test &&
22     make DESTDIR="${pkgdir}/" install;
23   } || return 1;
25   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete