Date: Monday, February 20, 2017 @ 07:27:48 Author: arojas Revision: 289310
archrelease: copy trunk to testing-any Added: perl-libwww/repos/testing-any/ perl-libwww/repos/testing-any/PKGBUILD (from rev 289309, perl-libwww/trunk/PKGBUILD) ----------+ PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) Copied: perl-libwww/repos/testing-any/PKGBUILD (from rev 289309, perl-libwww/trunk/PKGBUILD) =================================================================== --- testing-any/PKGBUILD (rev 0) +++ testing-any/PKGBUILD 2017-02-20 07:27:48 UTC (rev 289310) @@ -0,0 +1,36 @@ +# $Id$ +# Maintainer: Eric BĂ©langer <e...@archlinux.org> + +pkgname=perl-libwww +pkgver=6.19 +pkgrel=1 +pkgdesc="The World-Wide Web library for Perl" +arch=('any') +url="https://metacpan.org/release/libwww-perl" +license=('PerlArtistic' 'GPL') +depends=('perl' 'perl-encode-locale' 'perl-file-listing' + 'perl-html-parser' 'perl-http-cookies' 'perl-http-daemon' + 'perl-http-date' 'perl-http-negotiate' 'perl-lwp-mediatypes' + 'perl-net-http' 'perl-uri' 'perl-www-robotrules' + 'perl-http-message') +optdepends=('perl-lwp-protocol-https: for https:// url schemes') +checkdepends=('perl-try-tiny' 'perl-test-fatal') +options=('!emptydirs') +source=(http://search.cpan.org/CPAN/authors/id/O/OA/OALDERS/libwww-perl-${pkgver}.tar.gz) +sha1sums=('165a53a9596dd6e2ebe6a5bd385fe8da06f48b3a') + +build() { + cd libwww-perl-${pkgver} + perl Makefile.PL --aliases INSTALLDIRS=vendor + make +} + +check() { + cd libwww-perl-${pkgver} + make test +} + +package() { + cd libwww-perl-${pkgver} + make DESTDIR="$pkgdir" install +}