# Automatically generated by apkbuild-cpan, template 1 # Contributor: Kiyoshi Aman # Maintainer: Kiyoshi Aman pkgname=perl-data-ical _pkgreal=Data-ICal pkgver=0.23 pkgrel=0 pkgdesc="Generates iCalendar (RFC 2445) calendar files" url="https://metacpan.org/release/Data-ICal" arch="noarch" license="GPL-1.0-or-later OR Artistic-1.0-Perl" cpandepends="perl-test-nowarnings perl-test-warn perl-text-vfile-asdata perl-class-returnvalue perl-test-longstring perl-class-accessor perl-file-slurp" depends="$cpandepends" makedepends="perl-dev perl-module-install" checkdepends="perl-pod-coverage" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/B/BP/BPS/Data-ICal-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" prepare() { export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor } build() { export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') make } check() { make test } package() { make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums="dc99cacc7fcd9fab9ae8365ab141d381678ff07feb5e0ce3f2baa924040aa0dd9f9f493692e5709493398eeb9755a06567e0eb1c1ac621e22bfad824b10c67b3 Data-ICal-0.23.tar.gz"