1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Justin "juster" Davis <jrcd83@gmail.com>
7 pkgdesc="Low-level HTTP connection (client)"
9 url=https://search.cpan.org/dist/Net-HTTP
10 license=('PerlArtistic' 'GPL')
11 options=('!emptydirs')
13 checkdepends=('perl-uri')
14 conflicts=('perl-libwww<6')
15 source=("https://cpan.metacpan.org/authors/id/O/OA/OALDERS/Net-HTTP-$pkgver.tar.gz")
16 sha512sums=('8d0af85baee8a3b257995c6dd277c2eb578d1feeec89f3e4be0548959d2cf07934764d9d16a542a50f72a4611e3f4b6335ff7e969a28cd74fbb0ec3961588131')
19 export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
20 PERL_AUTOINSTALL=--skipdeps \
21 PERL_MM_OPT="INSTALLDIRS=vendor" \
22 PERL_MB_OPT="--installdirs vendor" \
23 MODULEBUILDRC=/dev/null
26 /usr/bin/perl Makefile.PL
31 export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
38 make DESTDIR="$pkgdir" install
45 # vim:set ts=2 sw=2 et: