[arch-commits] Commit in perl-perl-critic/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Mon May 24 11:37:50 UTC 2021


    Date: Monday, May 24, 2021 @ 11:37:49
  Author: foutrelis
Revision: 944684

archrelease: copy trunk to community-staging-any

Added:
  perl-perl-critic/repos/community-staging-any/
  perl-perl-critic/repos/community-staging-any/PKGBUILD
    (from rev 944682, perl-perl-critic/trunk/PKGBUILD)

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

Copied: perl-perl-critic/repos/community-staging-any/PKGBUILD (from rev 944682, perl-perl-critic/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-05-24 11:37:49 UTC (rev 944684)
@@ -0,0 +1,35 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-perl-critic
+pkgver=1.140
+pkgrel=2
+pkgdesc="Critique Perl source code for best-practices"
+arch=('any')
+license=('PerlArtistic')
+url="https://metacpan.org/release/Perl-Critic"
+depends=('perl-b-keywords' 'perl-config-tiny' 'perl-exception-class' 'perl-file-homedir'
+         'perl-file-which' 'perl-io-string' 'perl-list-moreutils' 'perl-module-build'
+         'perl-module-pluggable' 'perl-ppi' 'perl-ppix-quotelike' 'perl-ppix-regexp'
+         'perl-ppix-utilities' 'perl-pod-spell' 'perl-tidy' 'perl-readonly' 'perl-string-format'
+         'perl-task-weaken')
+makedepends=('perl-test-deep')
+checkdepends=('perl-test-memory-cycle')
+options=('!emptydirs')
+source=("https://cpan.metacpan.org/authors/id/P/PE/PETDANCE/Perl-Critic-$pkgver.tar.gz")
+sha512sums=('46afc8260d2b500edbb29836be993f065270ed9ffa6aa00611a980b294025b794286bc820afeabb94b7d1cdd9bfb4e715e44e466fb0340cb9d938e031b54a6f0')
+
+build() {
+  cd Perl-Critic-$pkgver
+  perl Build.PL installdirs=vendor
+  perl Build
+}
+
+check() {
+  cd Perl-Critic-$pkgver
+  perl Build test
+}
+
+package() {
+  cd Perl-Critic-$pkgver
+  perl Build install destdir="$pkgdir"
+}



More information about the arch-commits mailing list