Skip to content
Snippets Groups Projects
Commit 7c2dc446 authored by Francesco Colista's avatar Francesco Colista
Browse files

main/perl-package-stash: upgrade to 0.38

parent 163e2083
No related branches found
No related tags found
No related merge requests found
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-package-stash
_pkgreal=Package-Stash
pkgver=0.37
pkgver=0.38
pkgrel=0
pkgdesc="routines for manipulating stashes"
url="http://search.cpan.org/dist/Package-Stash/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends="perl-dist-checkconflicts perl-package-stash-xs perl-module-implementation"
cpanmakedepends="perl-test-fatal perl-test-requires perl-test-fatal perl-test-requires "
cpanmakedepends="perl-test-fatal perl-test-requires 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="http://search.cpan.org/CPAN/authors/id/D/DO/DOY/$_pkgreal-$pkgver.tar.gz"
source="https://cpan.metacpan.org/authors/id/E/ET/ETHER/Package-Stash-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
_builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
cd "$_builddir"
build() {
cd "$builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
build() {
cd "$_builddir"
make && make test
check() {
cd "$builddir"
make test
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
md5sums="7e47a8261312e1cf3d12bd2007916b66 Package-Stash-0.37.tar.gz"
sha256sums="06ab05388f9130cd377c0e1d3e3bafeed6ef6a1e22104571a9e1d7bfac787b2c Package-Stash-0.37.tar.gz"
sha512sums="d10321903591568d4ac4db91ad9e4dfcffe564ab22a5ecdd8fa103749c9708da082ffb3ca478e98ac120a23e51c0ab0ccf799c0da10fe2be194e9cace1f16b06 Package-Stash-0.37.tar.gz"
sha512sums="4846953a845727d2b987a4625fc96e18c7d68a365ac8dbacfa21388b0a063ebac9c91e43190dc4f91af4b3adca508b32a6c7ec18213096622162c06c11cbb611 Package-Stash-0.38.tar.gz"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment