[arch-commits] Commit in perl-www-robotrules/repos (staging-any staging-any/PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Sat May 16 09:55:14 UTC 2020


    Date: Saturday, May 16, 2020 @ 09:55:14
  Author: foutrelis
Revision: 383983

archrelease: copy trunk to staging-any

Added:
  perl-www-robotrules/repos/staging-any/
  perl-www-robotrules/repos/staging-any/PKGBUILD
    (from rev 383982, perl-www-robotrules/trunk/PKGBUILD)

----------+
 PKGBUILD |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Copied: perl-www-robotrules/repos/staging-any/PKGBUILD (from rev 383982, perl-www-robotrules/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2020-05-16 09:55:14 UTC (rev 383983)
@@ -0,0 +1,29 @@
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=perl-www-robotrules
+pkgver=6.02
+pkgrel=7
+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=(https://search.cpan.org/CPAN/authors/id/G/GA/GAAS/WWW-RobotRules-${pkgver}.tar.gz)
+sha1sums=('e158e6559307878b32d8e4c241bf257c2bc88ebb')
+
+build() {
+  cd "${srcdir}/WWW-RobotRules-${pkgver}"
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd "${srcdir}/WWW-RobotRules-${pkgver}"
+  make test
+}
+
+package() {
+  cd "${srcdir}/WWW-RobotRules-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+}



More information about the arch-commits mailing list