1 # Maintainer: Jakob Nixdorf <flocke [swirly thing] shadowice [dot] org>
3 pkgname=perl-www-search
6 pkgdesc="Virtual base class for WWW searches"
7 depends=('perl>=5.10.0' 'glibc' 'perl-user' 'perl-html-tree' 'perl-test-pod' 'perl-bit-vector' 'perl-file-slurp' 'perl-test-pod-coverage' 'perl-test-file' 'perl-date-manip')
8 license=('GPL' 'PerlArtistic')
9 url="http://search.cpan.org/dist/WWW-Search"
10 source=(http://search.cpan.org/CPAN/authors/id/M/MT/MTHURN/WWW-Search-$pkgver.tar.gz)
11 md5sums=('287e248762977efb81f495588c51003b')
12 options=('force' '!emptydirs')
17 cd ${srcdir}/WWW-Search-$pkgver
19 perl Makefile.PL INSTALLDIRS=vendor || return 1
21 make DESTDIR=${pkgdir} install || return 1
23 # Remove .packlist and perllocal.pod files.
24 find ${pkgdir} -name '.packlist' -delete
25 find ${pkgdir} -name 'perllocal.pod' -delete