# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house> # Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house> pkgname=perl-devel-hide _pkgreal=Devel-Hide _author=DCANTRELL _au=${_author%%"${_author#??}"} _a=${_author%%"${_author#?}"} pkgver=0.0015 pkgrel=0 pkgdesc="Perl module for forcing the unavailability of modules for testing" url="https://metacpan.org/pod/Devel::Hide" arch="noarch" license="Artistic-1.0-Perl OR GPL-1.0+" depends="perl" makedepends="perl-dev" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" build() { PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor 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"