# Automatically generated by apkbuild-cpan, template 2 # Contributor: Timothy Legge # Maintainer: Timothy Legge pkgname=perl-sub-exporter-formethods _pkgreal=Sub-Exporter-ForMethods pkgver=0.100052 pkgrel=0 pkgdesc="helper routines for using Sub::Exporter to build methods" url="https://metacpan.org/release/Sub-Exporter-ForMethods/" arch="noarch" license="GPL PerlArtistic" cpandepends="perl-sub-exporter perl-sub-name" cpancheckdepends="perl-namespace-autoclean" depends="$cpandepends" makedepends="perl-dev" checkdepends="$cpancheckdepends" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Sub-Exporter-ForMethods-$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="75dc9d150f0d0fe33f727363582f99f1ca5c4b76e789e33e640f648588c23531516a99affd9097bc38e175e099dac817d307406dd2380f422aae401f3b5405ca Sub-Exporter-ForMethods-0.100052.tar.gz"