blob: 1b5c32aea30a036ee1b55a3c78da6c2574a23869 (
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
92
93
94
|
# Maintainer: Erich Eckner <arch at eckner dot net>
# Generator : neuesPerlPaket (c5ad2c9a17883435e14ac3343816be21cae693586e5330d497f678cbddf0b57f05d555b2fc1095096617fb98dab73cfd4db2a674a88ec04c617a9c1ea504a7d7)
pkgname='perl-type-tiny'
pkgver=1.002001
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.002001'
'perl-devel-typetiny-perl58compat=1.002001'
'perl-error-typetiny=1.002001'
'perl-error-typetiny-assertion=1.002001'
'perl-error-typetiny-compilation=1.002001'
'perl-error-typetiny-wrongnumberofparameters=1.002001'
'perl-eval-typetiny=1.002001'
'perl-reply-plugin-typetiny=1.002001'
'perl-test-typetiny=1.002001'
'perl-type-coercion=1.002001'
'perl-type-coercion-frommoose=1.002001'
'perl-type-coercion-union=1.002001'
'perl-type-library=1.002001'
'perl-type-params=1.002001'
'perl-type-parser=1.002001'
'perl-type-registry=1.002001'
'perl-types-common-numeric=1.002001'
'perl-types-common-string=1.002001'
'perl-types-standard=1.002001'
'perl-types-standard-arrayref=1.002001'
'perl-types-standard-cycletuple=1.002001'
'perl-types-standard-dict=1.002001'
'perl-types-standard-hashref=1.002001'
'perl-types-standard-map=1.002001'
'perl-types-standard-scalarref=1.002001'
'perl-types-standard-tuple=1.002001'
'perl-types-typetiny=1.002001'
'perl-type-tiny-class=1.002001'
'perl-type-tiny-duck=1.002001'
'perl-type-tiny-enum=1.002001'
'perl-type-tiny-intersection=1.002001'
'perl-type-tiny-role=1.002001'
'perl-type-tiny-union=1.002001'
'perl-type-utils=1.002001')
conflicts=(
'perl-kavorka<=0.013'
'perl-types-readonly<=0.001')
optdepends=(
'perl>=5.10.1'
'perl-devel-lexalias>=0.05'
'perl-devel-stacktrace'
'perl-ref-util-xs>=0.100'
'perl-regexp-util>=0.003'
'perl-sub-util'
'perl-type-tie'
'perl-type-tiny-xs>=0.011')
depends=(
'perl>=5.6.1'
'perl-exporter-tiny>=0.026')
makedepends=(
'perl-extutils-makemaker>=6.17'
'perl-test-simple>=0.96')
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=('e499c4f113e5a327294012daac9f0cd60a42a6c40b9d0c9c523a229f574a7dd0f672f209d0596d25edcbc39b79cd2ea65791b6a5146345e75fdd1d84ee1cd161')
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
}
|