mirror of
https://github.com/archlinux/aur.git
synced 2026-03-14 23:16:48 +01:00
Add Perl::Critic::Community v1.0.4
This commit is contained in:
commit
53fcc3bb34
6 changed files with 125 additions and 0 deletions
25
.SRCINFO
Normal file
25
.SRCINFO
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
pkgbase = perl-perl-critic-community
|
||||
pkgdesc = Community-inspired Perl::Critic policies
|
||||
pkgver = 1.04
|
||||
pkgrel = 1
|
||||
url = https://metacpan.org/dist/Perl-Critic-Community
|
||||
arch = any
|
||||
license = Artistic-2.0
|
||||
checkdepends = perl-module-metadata
|
||||
checkdepends = perl-pathtools
|
||||
checkdepends = perl-test-simple
|
||||
makedepends = perl-module-build-tiny>=0.034
|
||||
depends = perl-carp
|
||||
depends = perl-exporter
|
||||
depends = perl-path-tiny>=0.101
|
||||
depends = perl-perl-critic-policy-plicease-prohibitarrayassignaref>=100.00
|
||||
depends = perl-perl-critic-policy-variables-prohibitlooponhash>=0.005
|
||||
depends = perl-perl-critic>=1.126
|
||||
depends = perl-ppi>=1.254
|
||||
depends = perl-scalar-list-utils>=1.33
|
||||
depends = perl>=5.10.1
|
||||
options = !emptydirs
|
||||
source = https://cpan.metacpan.org/authors/id/D/DB/DBOOK/Perl-Critic-Community-v1.0.4.tar.gz
|
||||
sha256sums = 3b31624ea0cf4392b8f4397a529515248814a2166697f1a453d58ab6f112d209
|
||||
|
||||
pkgname = perl-perl-critic-community
|
||||
3
.nvchecker.toml
Normal file
3
.nvchecker.toml
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
[perl-perl-critic-community]
|
||||
source = "cpan"
|
||||
cpan = "Perl-Critic-Community"
|
||||
12
LICENSE
Normal file
12
LICENSE
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
Copyright Arch Linux Contributors
|
||||
|
||||
Permission to use, copy, modify, and/or distribute this software for
|
||||
any purpose with or without fee is hereby granted.
|
||||
|
||||
THE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL
|
||||
WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
|
||||
OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE
|
||||
FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY
|
||||
DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
|
||||
AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
|
||||
OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
1
LICENSES/0BSD.txt
Symbolic link
1
LICENSES/0BSD.txt
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../LICENSE
|
||||
59
PKGBUILD
Normal file
59
PKGBUILD
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
# Maintainer: ryoskzypu <ryoskzypu@proton.me>
|
||||
|
||||
_dist='Perl-Critic-Community'
|
||||
_pkgver='v1.0.4'
|
||||
pkgname='perl-perl-critic-community'
|
||||
pkgver=1.04
|
||||
pkgrel=1
|
||||
pkgdesc='Community-inspired Perl::Critic policies'
|
||||
arch=('any')
|
||||
url="https://metacpan.org/dist/$_dist"
|
||||
license=('Artistic-2.0')
|
||||
depends=(
|
||||
'perl-carp'
|
||||
'perl-exporter'
|
||||
'perl-path-tiny>=0.101'
|
||||
'perl-perl-critic-policy-plicease-prohibitarrayassignaref>=100.00'
|
||||
'perl-perl-critic-policy-variables-prohibitlooponhash>=0.005'
|
||||
'perl-perl-critic>=1.126'
|
||||
'perl-ppi>=1.254'
|
||||
'perl-scalar-list-utils>=1.33'
|
||||
'perl>=5.10.1'
|
||||
)
|
||||
makedepends=('perl-module-build-tiny>=0.034')
|
||||
checkdepends=(
|
||||
'perl-module-metadata'
|
||||
'perl-pathtools'
|
||||
'perl-test-simple'
|
||||
)
|
||||
options=('!emptydirs')
|
||||
source=("https://cpan.metacpan.org/authors/id/D/DB/DBOOK/$_dist-$_pkgver.tar.gz")
|
||||
sha256sums=('3b31624ea0cf4392b8f4397a529515248814a2166697f1a453d58ab6f112d209')
|
||||
|
||||
build()
|
||||
{
|
||||
cd $_dist-$_pkgver
|
||||
|
||||
unset PERL_MB_OPT PERL5LIB PERL_LOCAL_LIB_ROOT
|
||||
|
||||
/usr/bin/perl Build.PL --create_packlist=0
|
||||
./Build
|
||||
}
|
||||
|
||||
check()
|
||||
{
|
||||
cd $_dist-$_pkgver
|
||||
|
||||
unset PERL5LIB PERL_LOCAL_LIB_ROOT
|
||||
|
||||
./Build test
|
||||
}
|
||||
|
||||
package()
|
||||
{
|
||||
cd $_dist-$_pkgver
|
||||
|
||||
unset PERL5LIB PERL_LOCAL_LIB_ROOT
|
||||
|
||||
./Build install --installdirs=vendor --destdir="$pkgdir"
|
||||
}
|
||||
25
REUSE.toml
Normal file
25
REUSE.toml
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
version = 1
|
||||
|
||||
[[annotations]]
|
||||
path = [
|
||||
"PKGBUILD",
|
||||
"README.md",
|
||||
"keys/**",
|
||||
".SRCINFO",
|
||||
".gitignore",
|
||||
".nvchecker.toml",
|
||||
"*.install",
|
||||
"*.sysusers",
|
||||
"*sysusers.conf",
|
||||
"*.tmpfiles",
|
||||
"*tmpfiles.conf",
|
||||
"*.logrotate",
|
||||
"*.pam",
|
||||
"*.service",
|
||||
"*.socket",
|
||||
"*.timer",
|
||||
"*.desktop",
|
||||
"*.hook",
|
||||
]
|
||||
SPDX-FileCopyrightText = "Arch Linux contributors"
|
||||
SPDX-License-Identifier = "0BSD"
|
||||
Loading…
Add table
Reference in a new issue