# Automatically generated by apkbuild-cpan, template 1 # Maintainer: Francesco Colista pkgname=perl-devel-hide pkgver=0.0015 pkgrel=1 pkgdesc="Forces the unavailability of specified Perl modules (for testing)" url="https://metacpan.org/release/Devel-Hide/" arch="noarch" license="GPL-1.0-or-later OR Artistic-1.0-Perl" depends="perl" makedepends="perl-test-pod perl-test-pod-coverage" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/D/DC/DCANTRELL/Devel-Hide-$pkgver.tar.gz" builddir="$srcdir/Devel-Hide-$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=" 6fbd73e21630596c2c398ba2490be4f17b95de5c25af547f3a824cebb87ed57d99cba418ba6caefbb8494f3341c571da5debae13add6b698c9e6ba4e001f60d7 Devel-Hide-0.0015.tar.gz "