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

Felix Yan felixonmars at archlinux.org
Sun Jun 21 10:57:26 UTC 2020


    Date: Sunday, June 21, 2020 @ 10:57:25
  Author: felixonmars
Revision: 389798

archrelease: copy trunk to staging-any

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

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

Copied: perl-www-robotrules/repos/staging-any/PKGBUILD (from rev 389796, perl-www-robotrules/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2020-06-21 10:57:25 UTC (rev 389798)
@@ -0,0 +1,29 @@
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=perl-www-robotrules
+pkgver=6.02
+pkgrel=8
+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