aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-datetime-format-iso8601
diff options
context:
space:
mode:
Diffstat (limited to 'testing/perl-datetime-format-iso8601')
-rw-r--r--testing/perl-datetime-format-iso8601/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/perl-datetime-format-iso8601/APKBUILD b/testing/perl-datetime-format-iso8601/APKBUILD
new file mode 100644
index 0000000000..178cd3b8ee
--- /dev/null
+++ b/testing/perl-datetime-format-iso8601/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-datetime-format-iso8601
+_pkgreal=DateTime-Format-ISO8601
+pkgver=0.08
+pkgrel=0
+pkgdesc="Parses ISO8601 formats"
+url="https://metacpan.org/release/DateTime-Format-ISO8601/"
+arch="noarch"
+license="GPL-1.0-or-later Artistic-1.0-Perl"
+cpandepends="perl-datetime perl-datetime-format-builder"
+depends="$cpandepends"
+makedepends="perl-module-build-tiny perl-dev $cpanmakedepends"
+checkdepends="$cpancheckdepends"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/J/JH/JHOBLITT/DateTime-Format-ISO8601-$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="88b9c538bf7566cf9857266505e47ea58b72b0cf447bde0b5ca79e9c19ea66118bdb62d4039284e1ab901a0016044613307de654a642761d91989bfb50735979 DateTime-Format-ISO8601-0.08.tar.gz"