1 # Contributor: giniu <gginiu@gmail.com>
2 pkgname=perl-xml-treebuilder
5 pkgdesc="Parser that builds a tree of XML::Element objects"
7 url="http://search.cpan.org/~jfearn/XML-TreeBuilder/"
8 license=('GPL' 'PerlArtistic')
9 depends=('perl>=5.10.0' 'perl-xml-parser' 'perl-html-tree>=4.1' 'perl-html-tagset>=3.02')
10 makedepends=('perl-test-critic' 'perl-test-pod-coverage' 'perl-test-exception' 'perl-devel-cover')
12 source=(http://search.cpan.org/CPAN/authors/id/J/JF/JFEARN/XML-TreeBuilder-${pkgver}.tar.gz)
13 md5sums=('1e410f8a38584935fc72a769d655a6d8')
16 cd "$srcdir"/XML-TreeBuilder-${pkgver}
18 # install module in vendor directories.
19 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
21 make install DESTDIR="$pkgdir/" || return 1
23 # remove perllocal.pod and .packlist
24 find "$pkgdir" -name perllocal.pod -delete
25 find "$pkgdir" -name .packlist -delete
28 # vim:set ts=2 sw=2 et: