# Contributor: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> setvar pkgname = 'perl-www-robotrules' setvar pkgver = '6.02' setvar pkgrel = '1' setvar pkgdesc = ""WWW::RobotRules perl module"" setvar url = ""http://search.cpan.org/dist/WWW-RobotRules/"" setvar arch = ""noarch"" setvar license = ""GPLv2 or Artistic"" setvar depends = ""perl perl-uri"" setvar makedepends = ""perl-dev"" setvar install = """" setvar replaces = ""perl-libwww"" setvar subpackages = ""$pkgname-doc"" setvar source = ""http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/WWW-RobotRules-$pkgver.tar.gz"" setvar builddir = ""$srcdir"/WWW-RobotRules-$pkgver" proc build { cd $builddir' PERL_MM_USE_DEFAULT=1' perl Makefile.PL INSTALLDIRS=vendor make } proc check { cd $builddir make test } proc package { cd $builddir make DESTDIR="$pkgdir" install find $pkgdir '(' -name perllocal.pod -o -name .packlist ')' -delete } setvar sha512sums = ""781a2fc90e4efed901a91ecf4f2aaac2684409c6a75a8434ff140654838bb05d11f8fa760642e20eee96450d3ced6815a4dab11a4245bc8120c69ca68ab49e44 WWW-RobotRules-6.02.tar.gz""