mirror of
https://github.com/archlinux/aur.git
synced 2026-03-14 23:16:48 +01:00
Add Perl::Critic::Policy::Variables::ProhibitLoopOnHash 0.009
This commit is contained in:
commit
982ef99b9d
6 changed files with 112 additions and 0 deletions
18
.SRCINFO
Normal file
18
.SRCINFO
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
pkgbase = perl-perl-critic-policy-variables-prohibitlooponhash
|
||||
pkgdesc = Don't write loops on hashes, only on keys and values of hashes
|
||||
pkgver = 0.009
|
||||
pkgrel = 1
|
||||
url = https://metacpan.org/dist/Perl-Critic-Policy-Variables-ProhibitLoopOnHash
|
||||
arch = any
|
||||
license = MIT
|
||||
checkdepends = perl-pathtools
|
||||
checkdepends = perl-test-simple
|
||||
depends = perl
|
||||
depends = perl-carp
|
||||
depends = perl-perl-critic>=1.126
|
||||
depends = perl-scalar-list-utils>=1.33
|
||||
options = !emptydirs
|
||||
source = https://cpan.metacpan.org/authors/id/X/XS/XSAWYERX/Perl-Critic-Policy-Variables-ProhibitLoopOnHash-0.009.tar.gz
|
||||
sha256sums = ce4a334de0927fc45dcb35edfc81be6381528a528195b2f877304aa83d761ea5
|
||||
|
||||
pkgname = perl-perl-critic-policy-variables-prohibitlooponhash
|
||||
3
.nvchecker.toml
Normal file
3
.nvchecker.toml
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
[perl-perl-critic-policy-variables-prohibitlooponhash]
|
||||
source = "cpan"
|
||||
cpan = "Perl-Critic-Policy-Variables-ProhibitLoopOnHash"
|
||||
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
|
||||
53
PKGBUILD
Normal file
53
PKGBUILD
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
# Maintainer: ryoskzypu <ryoskzypu@proton.me>
|
||||
|
||||
_dist='Perl-Critic-Policy-Variables-ProhibitLoopOnHash'
|
||||
pkgname='perl-perl-critic-policy-variables-prohibitlooponhash'
|
||||
pkgver=0.009
|
||||
pkgrel=1
|
||||
pkgdesc="Don't write loops on hashes, only on keys and values of hashes"
|
||||
arch=('any')
|
||||
url="https://metacpan.org/dist/$_dist"
|
||||
license=('MIT')
|
||||
depends=(
|
||||
'perl'
|
||||
'perl-carp'
|
||||
'perl-perl-critic>=1.126'
|
||||
'perl-scalar-list-utils>=1.33'
|
||||
)
|
||||
checkdepends=(
|
||||
'perl-pathtools'
|
||||
'perl-test-simple'
|
||||
)
|
||||
options=('!emptydirs')
|
||||
source=("https://cpan.metacpan.org/authors/id/X/XS/XSAWYERX/$_dist-$pkgver.tar.gz")
|
||||
sha256sums=('ce4a334de0927fc45dcb35edfc81be6381528a528195b2f877304aa83d761ea5')
|
||||
|
||||
build()
|
||||
{
|
||||
cd $_dist-$pkgver
|
||||
|
||||
unset PERL_MM_OPT PERL5LIB PERL_LOCAL_LIB_ROOT
|
||||
export PERL_MM_USE_DEFAULT=1
|
||||
|
||||
/usr/bin/perl Makefile.PL NO_PACKLIST=1 NO_PERLLOCAL=1
|
||||
make
|
||||
}
|
||||
|
||||
check()
|
||||
{
|
||||
cd $_dist-$pkgver
|
||||
|
||||
unset PERL5LIB PERL_LOCAL_LIB_ROOT
|
||||
|
||||
make test
|
||||
}
|
||||
|
||||
package()
|
||||
{
|
||||
cd $_dist-$pkgver
|
||||
|
||||
unset PERL5LIB PERL_LOCAL_LIB_ROOT
|
||||
|
||||
make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
|
||||
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
|
||||
}
|
||||
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