1 # Maintainer: Petrenko Alexey <alexey-p at uralweb dot ru>
2 pkgname=perl-www-search-scrape
5 pkgdesc='Scrape search engine results'
6 url='http://search.cpan.org/~qsun/WWW-Search-Scrape-0.08/lib/WWW/Search/Scrape.pm'
7 depends=('perl-html-treebuilder-xpath' 'perl-data-dumper' 'perl-www-mechanize')
10 options=('!emptydirs')
11 source=("http://search.cpan.org/CPAN/authors/id/Q/QS/QSUN/WWW-Search-Scrape-$pkgver.tar.gz")
12 md5sums=('59e830e7f93a77b0b3ed7eab2e10146f')
15 cd "$srcdir/WWW-Search-Scrape-$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;