db-move: moved webkitgtk-6.0 from [testing] to [extra] (x86_64)
[arch-packages.git] / perl-libwww / repos / extra-any / PKGBUILD
blob1de6ee1975cac3e1af1f86bd350bbd61397b803f
1 # Maintainer: Eric BĂ©langer <eric@archlinux.org>
3 pkgname=perl-libwww
4 pkgver=6.67
5 pkgrel=1
6 pkgdesc="The World-Wide Web library for Perl"
7 arch=('any')
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')
20 build() {
21   cd libwww-perl-$pkgver
22   perl Makefile.PL --aliases INSTALLDIRS=vendor
23   make
26 check()  {
27   cd libwww-perl-$pkgver
28   make test
31 package() {
32   cd libwww-perl-$pkgver
33   make DESTDIR="$pkgdir" install