# Automatically generated by apkbuild-cpan, template 1 # Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=perl-package-stash _pkgreal=Package-Stash pkgver=0.38 pkgrel=1 pkgdesc="routines for manipulating stashes" url="http://search.cpan.org/dist/Package-Stash/" arch="noarch" license="GPL-1.0-or-later OR Artistic-1.0-Perl" cpandepends="perl-dist-checkconflicts perl-package-stash-xs perl-module-implementation" cpanmakedepends="perl-test-fatal perl-test-requires perl-yaml perl-sub-name" depends="$cpandepends" makedepends="perl-dev $cpanmakedepends" checkdepends="perl-package-anon" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/E/ET/ETHER/Package-Stash-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$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"