blob: 283632e510715d839340b9f6e088d61892e2b77f (
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
|
# Maintainer: Erich Eckner <arch at eckner dot net>
# Generator : neuesPerlPaket (c5ad2c9a17883435e14ac3343816be21cae693586e5330d497f678cbddf0b57f05d555b2fc1095096617fb98dab73cfd4db2a674a88ec04c617a9c1ea504a7d7)
pkgname='perl-type-tiny'
pkgver='1.000005'
pkgrel='2'
pkgdesc='tiny, yet Moo(se)-compatible type constraint'
arch=('x86_64' 'i686')
license=('PerlArtistic' 'GPL')
options=('!emptydirs')
provides=(
'perl-devel-typetiny-perl56compat=1.000005'
'perl-devel-typetiny-perl58compat=1.000005'
'perl-error-typetiny=1.000005'
'perl-error-typetiny-assertion=1.000005'
'perl-error-typetiny-compilation=1.000005'
'perl-error-typetiny-wrongnumberofparameters=1.000005'
'perl-eval-typetiny=1.000005'
'perl-reply-plugin-typetiny=1.000005'
'perl-test-typetiny=1.000005'
'perl-type-coercion=1.000005'
'perl-type-coercion-frommoose=1.000005'
'perl-type-coercion-union=1.000005'
'perl-type-library=1.000005'
'perl-type-params=1.000005'
'perl-type-parser=1.000005'
'perl-type-registry=1.000005'
'perl-types-common-numeric=1.000005'
'perl-types-common-string=1.000005'
'perl-types-standard=1.000005'
'perl-types-standard-arrayref=1.000005'
'perl-types-standard-dict=1.000005'
'perl-types-standard-hashref=1.000005'
'perl-types-standard-map=1.000005'
'perl-types-standard-scalarref=1.000005'
'perl-types-standard-tuple=1.000005'
'perl-types-typetiny=1.000005'
'perl-type-tiny-class=1.000005'
'perl-type-tiny-duck=1.000005'
'perl-type-tiny-enum=1.000005'
'perl-type-tiny-intersection=1.000005'
'perl-type-tiny-role=1.000005'
'perl-type-tiny-union=1.000005'
'perl-type-utils=1.000005')
depends=(
'perl>=5.6.1'
'perl-exporter-tiny>=0.026')
makedepends=(
'perl-extutils-makemaker>=6.17'
'perl-test-simple>=0.96')
conflicts=(
'perl-kavorka<=0.013'
'perl-types-readonly<=0.001')
optdepends=(
'perl>=5.10.1'
'perl-devel-lexalias>=0.05'
'perl-devel-stacktrace'
'perl-sub-name'
'perl-type-tie'
'perl-type-tiny-xs>=0.010')
url='https://metacpan.org/release/Type-Tiny'
_distdir="Type-Tiny-${pkgver}"
source=("https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/${_distdir}.tar.gz")
sha512sums=('5817ee937384cccbea71fa69f8c2202d721c648a18eedf089529fbb956b2d050b889606e69c8bc3e1d94fb6f638b6cac01394b5534f17a8be6cdf82d69b965b6')
build() {
( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
PERL_AUTOINSTALL=--skipdeps \
PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
MODULEBUILDRC=/dev/null
cd "${srcdir}/${_distdir}"
perl Makefile.PL
make
)
}
check() {
cd "${srcdir}/${_distdir}"
( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
make test
)
}
package() {
cd "${srcdir}/${_distdir}"
make install
find "${pkgdir}" -name .packlist -o -name perllocal.pod -delete
}
|