# Automatically generated by apkbuild-cpan, template 3 # Contributor: rubicon # Maintainer: rubicon pkgname=perl-config-ini-reader-ordered #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan _pkgreal=Config-INI-Reader-Ordered pkgver=0.022 pkgrel=1 pkgdesc="INI-file parser that returns sections in order" url="https://metacpan.org/release/Config-INI-Reader-Ordered/" arch="noarch" license="GPL-1.0-or-later OR Artistic-1.0-Perl" depends="perl perl-config-ini" makedepends="perl-dev" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Config-INI-Reader-Ordered-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" build() { export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor make } check() { export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') make test } package() { make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums=" 027e66e76ab4b7857b8aa85de740f614a56a958262de664c2dd8d58890f839799d5433c6699eeb38eb4f72d0111d0df55df05201e3a360a4775ddd0bf4d3a1d7 Config-INI-Reader-Ordered-0.022.tar.gz "