diff options
-rw-r--r-- | abs/core/perl_modules/perl-http-cookies/PKGBUILD | 56 |
1 files changed, 17 insertions, 39 deletions
diff --git a/abs/core/perl_modules/perl-http-cookies/PKGBUILD b/abs/core/perl_modules/perl-http-cookies/PKGBUILD index 578f05f..56ff5b2 100644 --- a/abs/core/perl_modules/perl-http-cookies/PKGBUILD +++ b/abs/core/perl_modules/perl-http-cookies/PKGBUILD @@ -1,52 +1,30 @@ -# Maintainer : Justin "juster" Davis <jrcd83@gmail.com> -# Generator : pbjam 0.01 -# $Id: PKGBUILD 150637 2012-02-19 01:19:55Z allan $ +# $Id$ +# Maintainer: pkgname=perl-http-cookies -pkgver=6.01 -pkgrel=1 +pkgver=6.04 +pkgrel=2 pkgdesc="HTTP cookie jars" -arch=(any) -license=(PerlArtistic GPL) +arch=('any') +url="http://search.cpan.org/dist/HTTP-Cookies" +license=('PerlArtistic' 'GPL') +depends=('perl' 'perl-http-date' 'perl-http-message') options=('!emptydirs') -depends=('perl>=5.8.8' 'perl-http-date>=6' 'perl-http-message') -makedepends=() -checkdepends=() -conflicts=('perl-libwww<6') -url=http://search.cpan.org/dist/HTTP-Cookies -source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTTP-Cookies-6.00.tar.gz) -md5sums=('21bed72b30a46604c152b7e25cf1cb45') -sha512sums=('6399383e61a2fbad1dd130e67f51be32c118ed104065c109cde1e1262aed986fe3790231937dbdee861755bb58d365bc6f1dec316750f02700fce5014d1a1753') -_distdir="${srcdir}/HTTP-Cookies-6.00" +source=(http://search.cpan.org/CPAN/authors/id/O/OA/OALDERS/HTTP-Cookies-$pkgver.tar.gz) +sha512sums=('e8b24b96e6630f1238e828edfbf7074fb9186a391fd1d129fb65a82748a4cf7d71669fa658c31957560a6faac3e638c8dc7aa3182acaa6fd14f0d56f3968f5e4') build() { - ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ - PERL_AUTOINSTALL=--skipdeps \ - PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \ - PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \ - MODULEBUILDRC=/dev/null - - cd "$_distdir" - /usr/bin/perl Makefile.PL - make - ) + cd HTTP-Cookies-$pkgver + perl Makefile.PL INSTALLDIRS=vendor + make } check() { - ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" - cd "$_distdir" - make test - ) + cd HTTP-Cookies-$pkgver + make test } package() { - cd "$_distdir" - make DESTDIR="$pkgdir" install - find "$pkgdir" -name .packlist -o -name perllocal.pod -delete + cd HTTP-Cookies-$pkgver + make DESTDIR="$pkgdir" install } - -# Local Variables: -# mode: shell-script -# sh-basic-offset: 2 -# End: -# vim:set ts=2 sw=2 et: |