# Automatically generated by apkbuild-cpan, template 4 # Contributor: Celeste # Maintainer: Celeste pkgname=perl-parse-pmfile pkgver=0.47 pkgrel=0 #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan _pkgreal=Parse-PMFile pkgdesc="Parse .pm files as PAUSE does" url="https://metacpan.org/release/Parse-PMFile/" arch="noarch" license="GPL-1.0-or-later OR Artistic-1.0-Perl" depends="perl" makedepends="perl-extutils-makemaker-cpanfile" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/I/IS/ISHIGAKI/Parse-PMFile-$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 \ NO_PACKLIST=1 \ NO_PERLLOCAL=1 make } check() { export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') make test } package() { make DESTDIR="$pkgdir" install } sha512sums=" a273c1e52d1f4e6249af2af9a1d96b5d97424a934efcf1d9da5ccaea86a519714b148f172b764503911a380603522745ccc1c59f9d37122b053d692a68e3cf43 Parse-PMFile-0.47.tar.gz "