1 # Maintainer: Eric BĂ©langer <eric@archlinux.org>
6 pkgdesc="The World-Wide Web library for Perl"
8 url="https://metacpan.org/release/libwww-perl"
9 license=('PerlArtistic' 'GPL')
10 depends=('perl' 'perl-encode-locale' 'perl-file-listing'
11 'perl-html-parser' 'perl-http-cookies' 'perl-http-daemon'
12 'perl-http-date' 'perl-http-negotiate' 'perl-lwp-mediatypes'
13 'perl-net-http' 'perl-try-tiny' 'perl-uri' 'perl-www-robotrules')
14 optdepends=('perl-lwp-protocol-https: for https:// url schemes')
15 checkdepends=('perl-test-fatal' 'perl-test-needs' 'perl-test-requiresinternet')
16 options=('!emptydirs')
17 source=(https://cpan.metacpan.org/authors/id/O/OA/OALDERS/libwww-perl-$pkgver.tar.gz)
18 sha512sums=('0e0c148e7d7e29e813e880e18be63d86b04a1b74fa7862e988727d7a9e6497e17baa7a90f79608f4edb83552d468c8b9be0ea7562a3777d305ae8891a04e496e')
21 cd libwww-perl-$pkgver
22 perl Makefile.PL --aliases INSTALLDIRS=vendor
27 cd libwww-perl-$pkgver
32 cd libwww-perl-$pkgver
33 make DESTDIR="$pkgdir" install