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

Evangelos Foutras foutrelis at archlinux.org
Sat May 25 10:57:06 UTC 2019


    Date: Saturday, May 25, 2019 @ 10:57:05
  Author: foutrelis
Revision: 470296

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

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

Copied: perl-perl-critic/repos/community-staging-any/PKGBUILD (from rev 470295, perl-perl-critic/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-05-25 10:57:05 UTC (rev 470296)
@@ -0,0 +1,35 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-perl-critic
+pkgver=1.134
+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=('73d3fd891e055aec5dd38680696ae30f6662d0906baeea878f393adb96e34079e561cd4c3dad00f0c84c7d3a72f3119b2f8ef0c0a1601aaccc8456f1c0039b7a')
+
+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