# Contributor: Leonardo Arena # Maintainer: Síle Ekaterin Liszka pkgname=perl-libwww _pkgreal=libwww-perl _author=OALDERS _au=${_author%%"${_author#??}"} _a=${_author%%"${_author#?}"} pkgver=6.68 pkgrel=0 pkgdesc="Perl module - World Wide Web library" url="https://metacpan.org/release/libwww-perl" arch="noarch" license="GPL-2.0-only OR Artistic-1.0-Perl" depends="perl-http-date perl-http-cookies perl-net-http perl-http-daemon perl-html-parser perl-file-listing perl-www-robotrules perl-http-negotiate perl-uri perl-http-message perl-test-needs perl-lwp-mediatypes perl-encode-locale perl-try-tiny" makedepends="" checkdepends="perl-test-fatal perl-test-requiresinternet" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/libwww-perl-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" build() { PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } check() { make test } package() { make DESTDIR="$pkgdir" install find "$pkgdir" -name perllocal.pod -delete } sha512sums="acce4c6c062d1893c45613f3c9ef4896d60efba2887f80a18c97c13bd5eba95295a777178077c942abe392e37ade689489ad60cefce28656c541e875b2bf09d2 perl-libwww-6.68.tar.gz"