summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-www-robotrules
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-05-31 17:48:34 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-05-31 17:48:34 (GMT)
commit5b3c935a6abe0d6aab74abbc64428e95174ac782 (patch)
tree25cce9a43384c7d85b96b3627f62eac55e7175fb /abs/core/perl_modules/perl-www-robotrules
parent332c3e2a34cc31dca4f128550fa3ff92284475c0 (diff)
downloadlinhes_pkgbuild-5b3c935a6abe0d6aab74abbc64428e95174ac782.zip
linhes_pkgbuild-5b3c935a6abe0d6aab74abbc64428e95174ac782.tar.gz
linhes_pkgbuild-5b3c935a6abe0d6aab74abbc64428e95174ac782.tar.bz2
perl-www-robotrules: rebuild
Diffstat (limited to 'abs/core/perl_modules/perl-www-robotrules')
-rw-r--r--abs/core/perl_modules/perl-www-robotrules/PKGBUILD63
1 files changed, 22 insertions, 41 deletions
diff --git a/abs/core/perl_modules/perl-www-robotrules/PKGBUILD b/abs/core/perl_modules/perl-www-robotrules/PKGBUILD
index 790cf73..94d7f6e 100644
--- a/abs/core/perl_modules/perl-www-robotrules/PKGBUILD
+++ b/abs/core/perl_modules/perl-www-robotrules/PKGBUILD
@@ -1,49 +1,30 @@
-# Packager: Justin "juster" Davis <jrcd83@gmail.com>
-# $Id: PKGBUILD 150764 2012-02-21 20:29:03Z juster $
+# $Id$
+# Maintainer: Eric BĂ©langer <eric@archlinux.org>
pkgname=perl-www-robotrules
pkgver=6.02
-pkgrel=1
-pkgdesc="database of robots.txt-derived permissions"
-arch=(any)
-license=(PerlArtistic GPL)
-options=(!emptydirs)
-depends=('perl>=5.8.1' 'perl-uri>=1.10')
-conflicts=('perl-libwww<6')
-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}"
+pkgrel=4
+pkgdesc="Database of robots.txt-derived permissions"
+arch=('any')
+url="https://metacpan.org/release/WWW-RobotRules"
+license=('PerlArtistic' 'GPL')
+depends=('perl' 'perl-uri')
+options=('!emptydirs')
+source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/WWW-RobotRules-${pkgver}.tar.gz)
+sha1sums=('e158e6559307878b32d8e4c241bf257c2bc88ebb')
-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
-)
+build() {
+ cd "${srcdir}/WWW-RobotRules-${pkgver}"
+ perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
-check()
-(
- export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
- cd "$_distdir"
- make test
-)
+check() {
+ cd "${srcdir}/WWW-RobotRules-${pkgver}"
+ make test
+}
package() {
- cd "$_distdir"
- make DESTDIR="$pkgdir" install
- find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+ cd "${srcdir}/WWW-RobotRules-${pkgver}"
+ make DESTDIR="${pkgdir}" install
}
-
-# Local Variables:
-# mode: shell-script
-# sh-basic-offset: 2
-# End:
-# vim:set ts=2 sw=2 et: