blob: ef8d255e9b50c0726910c9c340ef80053157051f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
# CPAN Name : MooseX::Getopt
# Contributor: Anton Leontiev <scileont /at/ gmail.com>
# Generator : CPANPLUS::Dist::Arch 1.32
pkgname=perl-moosex-getopt
pkgver=0.76
pkgrel=1
pkgdesc='A Moose role for processing command line options'
arch=('any')
url='https://metacpan.org/release/MooseX-Getopt'
license=('PerlArtistic' 'GPL')
makedepends=('perl-module-build-tiny>=0.039')
depends=(
'perl>=5.8.9'
'perl-getopt-long-descriptive>=0.088'
'perl-moose>=0.56'
'perl-moosex-role-parameterized'
'perl-try-tiny')
checkdepends=(
'perl>=5.10.1'
'perl-cpan-meta-check>=0.007'
'perl-module-runtime'
'perl-path-tiny>=0.009'
'perl-test-checkdeps>=0.006'
'perl-test-deep'
'perl-test-fatal>=0.003'
'perl-test-needs'
'perl-test-trap'
'perl-test-warnings'
'perl-namespace-autoclean')
source=(http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/MooseX-Getopt-0.76.tar.gz)
options=(!emptydirs)
md5sums=('633c7d2f79c6d860380213331f0905e8')
sanitize() {
unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
export PERL_MM_USE_DEFAULT=1 MODULEBUILDRC=/dev/null
}
build() {
cd MooseX-Getopt-0.76
sanitize
perl Build.PL --installdirs vendor --destdir "$pkgdir"
perl Build
}
check() {
cd MooseX-Getopt-0.76
sanitize
perl Build test
}
package() {
cd MooseX-Getopt-0.76
sanitize
perl Build install
# Remove this when https://bugs.archlinux.org/task/53770 will be fixed
find "$pkgdir" \( -name .packlist -o -name perllocal.pod \) -delete
}
|