[arch-commits] Commit in perl-perl-critic/repos (community-any community-any/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Fri Apr 12 13:05:10 UTC 2019


    Date: Friday, April 12, 2019 @ 13:05:09
  Author: felixonmars
Revision: 451266

archrelease: copy trunk to community-any

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

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

Copied: perl-perl-critic/repos/community-any/PKGBUILD (from rev 451265, perl-perl-critic/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2019-04-12 13:05:09 UTC (rev 451266)
@@ -0,0 +1,35 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-perl-critic
+pkgver=1.132
+pkgrel=1
+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=('489d551b4913071a9001e8476425079b3aeef44838feff622edfdb64ca09f62b569f5338d2e1982d3ccd3fdb8f30caf077ceac5ec1beebafbde7a01d6deed890')
+
+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