1 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
2 # Contributor: Francois Charette <firmicus@gmx.net>
4 pkgname=perl-www-mechanize
7 pkgdesc="Automates web page form & link interaction"
9 url="https://search.cpan.org/dist/WWW-Mechanize"
10 license=('GPL' 'PerlArtistic')
11 depends=('perl-libwww' 'perl-html-parser' 'perl-uri' 'perl-http-response-encoding'
12 'perl-http-server-simple' 'perl-test-warn' 'perl-html-form')
13 options=('!emptydirs')
14 source=("https://cpan.metacpan.org/authors/id/S/SI/SIMBABQUE/WWW-Mechanize-$pkgver.tar.gz")
15 sha256sums=('9c02003e84621dea12c980c4101e79e4f8cae4e382cd3da239faa8bd198f063a')
18 cd "$srcdir"/WWW-Mechanize-$pkgver
19 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
24 cd "$srcdir"/WWW-Mechanize-$pkgver
25 make install DESTDIR="$pkgdir"
26 find "$pkgdir" -name '.packlist' -delete
27 find "$pkgdir" -name '*.pod' -delete