aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-package-stash
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2019-04-08 07:21:49 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2019-04-08 07:43:03 +0000
commit7c2dc4467e97b6babd138b68e0d96ca28e721321 (patch)
tree3df31d9b27dff6d6d2b38928843c5bf4f3d2e35d /main/perl-package-stash
parent163e2083ab9656e013615e8ec4804678b6ca06e9 (diff)
downloadaports-7c2dc4467e97b6babd138b68e0d96ca28e721321.tar.bz2
aports-7c2dc4467e97b6babd138b68e0d96ca28e721321.tar.xz
main/perl-package-stash: upgrade to 0.38
Diffstat (limited to 'main/perl-package-stash')
-rw-r--r--main/perl-package-stash/APKBUILD35
1 files changed, 17 insertions, 18 deletions
diff --git a/main/perl-package-stash/APKBUILD b/main/perl-package-stash/APKBUILD
index 4928b58559..bf8a74764b 100644
--- a/main/perl-package-stash/APKBUILD
+++ b/main/perl-package-stash/APKBUILD
@@ -1,39 +1,38 @@
# 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"