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

Felix Yan felixonmars at archlinux.org
Sun Jun 21 15:26:34 UTC 2020


    Date: Sunday, June 21, 2020 @ 15:26:32
  Author: felixonmars
Revision: 649459

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 649457, perl-perl-critic/trunk/PKGBUILD)

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

Copied: perl-perl-critic/repos/community-staging-any/PKGBUILD (from rev 649457, perl-perl-critic/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-06-21 15:26:32 UTC (rev 649459)
@@ -0,0 +1,35 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-perl-critic
+pkgver=1.138
+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=('e36c44dc6ab67cdb0014c6b575238e3c54d4ffa506082df66f5e44ec0137111945f3a1196f2902e7c363c9ea10f08bfc8285b75d0af32080d9603ae7b28a4df7')
+
+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