Date: Monday, May 13, 2013 @ 22:52:42 Author: eric Revision: 185406 upgpkg: perl-lwp-protocol-https 6.04-1
Upstream update, PKGBUILD clean up Modified: perl-lwp-protocol-https/trunk/PKGBUILD ----------+ PKGBUILD | 56 +++++++++++++++++++------------------------------------- 1 file changed, 19 insertions(+), 37 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2013-05-13 20:15:20 UTC (rev 185405) +++ PKGBUILD 2013-05-13 20:52:42 UTC (rev 185406) @@ -1,48 +1,30 @@ -# Packager: Justin "juster" Davis <[email protected]> # $Id$ +# Maintainer: pkgname=perl-lwp-protocol-https -pkgver=6.03 +pkgver=6.04 pkgrel=1 pkgdesc="Provide https support for LWP::UserAgent" -arch=(any) -license=(PerlArtistic GPL) -options=(!emptydirs) -depends=('perl>=5.8.1' 'perl-io-socket-ssl>=1.54' 'perl-mozilla-ca>=20110101' - 'perl-net-http' 'perl-libwww>=6.04') -url=https://metacpan.org/release/LWP-Protocol-https +arch=('any') +url="https://metacpan.org/release/LWP-Protocol-https" +license=('PerlArtistic' 'GPL') +depends=('perl' 'perl-io-socket-ssl' 'perl-mozilla-ca' 'perl-net-http' 'perl-libwww') +options=('!emptydirs') source=("http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/LWP-Protocol-https-${pkgver}.tar.gz") -md5sums=(2a9341732172da290fe1b5af98a015a7) -sha512sums=(531326ba359e242d552f091f270ad4d5b80090093b3b2c89fec5f93f9e7f8807b5db95590f620d026e9090794f3e7775bf27480cba087af170207d99e25e6c14) -_distdir="${srcdir}/LWP-Protocol-https-${pkgver}" +md5sums=('1b422a7d3b5fed1eb4d748fdc9fd79a4') -build() -( - export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ - PERL_AUTOINSTALL=--skipdeps \ - PERL_MM_OPT="INSTALLDIRS=vendor" \ - PERL_MB_OPT="--installdirs vendor" \ - MODULEBUILDRC=/dev/null +build() { + cd LWP-Protocol-https-${pkgver} + perl Makefile.PL INSTALLDIRS=vendor + make +} - cd "$_distdir" - /usr/bin/perl Makefile.PL - make -) +check() { + cd LWP-Protocol-https-${pkgver} + make test +} -check() -( - export PERL_MM_USE_DEFAULT=1 PERL5LIB="" - cd "$_distdir" - make test -) - package() { - cd "$_distdir" - make DESTDIR="$pkgdir" install + cd LWP-Protocol-https-${pkgver} + make DESTDIR="$pkgdir" install } - -# Local Variables: -# mode: shell-script -# sh-basic-offset: 2 -# End: -# vim:set ts=2 sw=2 et:
