# Contributor: A. Wilcox <awilfox@adelielinux.org> # Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> pkgname=perl-package-stash pkgver=0.38 pkgrel=0 pkgdesc="Perl routines for manipulating stashes" url="https://metacpan.org/release/Package-Stash" arch="noarch" license="Artistic-1.0-Perl" depends="perl-module-implementation perl-package-stash-xs" makedepends="perl-dev" checkdepends="perl-dist-checkconflicts perl-test-fatal perl-test-requires" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/E/ET/ETHER/Package-Stash-$pkgver.tar.gz" builddir="$srcdir/Package-Stash-$pkgver" build() { cd "$builddir" PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } check() { cd "$builddir" make test } package() { cd "$builddir" make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums="4846953a845727d2b987a4625fc96e18c7d68a365ac8dbacfa21388b0a063ebac9c91e43190dc4f91af4b3adca508b32a6c7ec18213096622162c06c11cbb611 Package-Stash-0.38.tar.gz"