1 # Maintainer: Petrenko Alexey <alexey-p at uralweb dot ru>
5 pkgdesc='A Perl implementation of the HTML Document Object Model.'
6 url='http://search.cpan.org/~sprout/HTML-DOM-0.047/'
7 depends=('perl' 'perl-html-tree' 'perl-uri' 'perl-libwww' 'perl-css-dom' 'perl-timedate' 'perl-html-encoding')
10 options=('!emptydirs')
11 source=("http://search.cpan.org/CPAN/authors/id/S/SP/SPROUT/HTML-DOM-$pkgver.tar.gz")
12 md5sums=('262d587bf59999e54ad2fd129c1b76ac')
15 cd "$srcdir/HTML-DOM-$pkgver"
17 perl Makefile.PL INSTALLDIRS=vendor || return 1
20 make DESTDIR="$pkgdir" install || return 1
22 # Removing unnecessary stuff
23 find "$pkgdir" -type f -name 'perllocal.pod' -delete;
24 find "$pkgdir" -type f -name '.packlist' -delete;