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

Felix Yan felixonmars at archlinux.org
Sat May 25 09:45:32 UTC 2019


    Date: Saturday, May 25, 2019 @ 09:45:31
  Author: felixonmars
Revision: 354147

archrelease: copy trunk to staging-any

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

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

Copied: perl-www-robotrules/repos/staging-any/PKGBUILD (from rev 354145, perl-www-robotrules/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2019-05-25 09:45:31 UTC (rev 354147)
@@ -0,0 +1,29 @@
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=perl-www-robotrules
+pkgver=6.02
+pkgrel=6
+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() {
+  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