Date: Tuesday, February 21, 2012 @ 15:29:03 Author: juster Revision: 150764
Bump version to 6.02. Modified: perl-www-robotrules/trunk/PKGBUILD ----------+ PKGBUILD | 37 +++++++++++++++++-------------------- 1 file changed, 17 insertions(+), 20 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2012-02-21 20:26:22 UTC (rev 150763) +++ PKGBUILD 2012-02-21 20:29:03 UTC (rev 150764) @@ -1,26 +1,24 @@ -# Maintainer : Justin "juster" Davis <[email protected]> -# Generator : pbjam 0.01 +# Packager: Justin "juster" Davis <[email protected]> # $Id$ pkgname=perl-www-robotrules -pkgver=6.01 +pkgver=6.02 pkgrel=1 pkgdesc="database of robots.txt-derived permissions" arch=(any) license=(PerlArtistic GPL) -options=('!emptydirs') -depends=('perl>=5.8.8' 'perl-uri>=1.10') -makedepends=() -checkdepends=() +options=(!emptydirs) +depends=('perl>=5.8.1' 'perl-uri>=1.10') conflicts=('perl-libwww<6') -url=http://search.cpan.org/dist/WWW-RobotRules -source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/WWW-RobotRules-6.01.tar.gz) -md5sums=(b1252da49727320a1b5e20b3521d2499) -sha512sums=(41f7669cbb284b29ffba7f99b65bfe1b5605e7fe135d7d165e7c2ac017e02c7ff570115733fcab12a83e1497607067447541cba982277ee9afcae4a8e071e051) -_distdir="${srcdir}/WWW-RobotRules-6.01" +url=https://metacpan.org/release/WWW-RobotRules +source=("http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/WWW-RobotRules-${pkgver}.tar.gz") +md5sums=(b7186e8b8b3701e70c22abf430742403) +sha512sums=(781a2fc90e4efed901a91ecf4f2aaac2684409c6a75a8434ff140654838bb05d11f8fa760642e20eee96450d3ced6815a4dab11a4245bc8120c69ca68ab49e44) +_distdir="${srcdir}/WWW-RobotRules-${pkgver}" -build() { - ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ +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'" \ @@ -29,15 +27,14 @@ cd "$_distdir" /usr/bin/perl Makefile.PL make - ) -} +) -check() { - ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" +check() +( + export PERL_MM_USE_DEFAULT=1 PERL5LIB="" cd "$_distdir" make test - ) -} +) package() { cd "$_distdir"
