aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-moosex-types-datetime
diff options
context:
space:
mode:
authorTimothy Legge <timlegge@gmail.com>2020-02-26 00:06:01 +0000
committerAriadne Conill <ariadne@dereferenced.org>2020-02-27 00:03:25 +0000
commit08ce50b36ab8dd4f0d28979300ce234a39cc3560 (patch)
treee06057c3232cfef8df34000285652793df9a3126 /community/perl-moosex-types-datetime
parent081d9cd7bb9ea61d8ae5d3329feb4f4305ff2bcd (diff)
downloadaports-08ce50b36ab8dd4f0d28979300ce234a39cc3560.tar.bz2
aports-08ce50b36ab8dd4f0d28979300ce234a39cc3560.tar.xz
community/perl-moosex-types-datetime: move from testing
Diffstat (limited to 'community/perl-moosex-types-datetime')
-rw-r--r--community/perl-moosex-types-datetime/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/community/perl-moosex-types-datetime/APKBUILD b/community/perl-moosex-types-datetime/APKBUILD
new file mode 100644
index 0000000000..011cf662c7
--- /dev/null
+++ b/community/perl-moosex-types-datetime/APKBUILD
@@ -0,0 +1,35 @@
+# 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 OR Artistic-1.0-Perl"
+depends="perl-namespace-clean perl-datetime perl-moosex-types
+ perl-datetime-timezone perl-moose perl-datetime-locale"
+checkdepends="perl-test-fatal"
+makedepends="perl-devel-overloadinfo perl-module-build-tiny perl-dev"
+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"