# Contributor: A. Wilcox <awilfox@adelielinux.org> # Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> pkgname=perl-package-stash _pkgreal=Package-Stash _author=ETHER _au=${_author%%"${_author#??}"} _a=${_author%%"${_author#?}"} 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" checkdepends="perl-dist-checkconflicts perl-test-fatal perl-test-requires" 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="4846953a845727d2b987a4625fc96e18c7d68a365ac8dbacfa21388b0a063ebac9c91e43190dc4f91af4b3adca508b32a6c7ec18213096622162c06c11cbb611 Package-Stash-0.38.tar.gz"