blob: 77671a1aa553b0b0c35247961c7501cf9aeef631 (
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
|
# Automatically generated by apkbuild-cpan, template 2
# Contributor: Timothy Legge <timlegge@gmail.com>
# Maintainer: Timothy Legge <timlegge@gmail.com>
pkgname=perl-moosex-types-datetime
_pkgreal=MooseX-Types-DateTime
pkgver=0.13
pkgrel=1
pkgdesc="L<DateTime> related constraints and coercions for Moose"
url="https://metacpan.org/release/MooseX-Types-DateTime/"
arch="noarch"
license="GPL-1.0-or-later Artistic-1.0-Perl"
cpandepends="perl-namespace-clean perl-datetime perl-moosex-types
perl-datetime-timezone perl-moose perl-datetime-locale"
cpancheckdepends="perl-test-fatal"
depends="$cpandepends"
makedepends="perl-devel-overloadinfo perl-module-build-tiny perl-dev"
checkdepends="$cpancheckdepends"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/E/ET/ETHER/MooseX-Types-DateTime-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
perl Build.PL --installdirs=vendor
./Build
}
check() {
./Build test
}
package() {
./Build install --destdir="$pkgdir"
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="aadd07960d4d20ed5926ea6e14650bf2162a73e40e3e26797ad0323a083c1796f7d623b895e3a612da89315387082a9835380ff2ed7d74455a2074c818533dc5 MooseX-Types-DateTime-0.13.tar.gz"
|