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

main/perl-package-stash-xs: upgrade to 0.29

parent 7c2dc446
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-xs
_pkgreal=Package-Stash-XS
pkgver=0.28
pkgrel=4
pkgver=0.29
pkgrel=0
pkgdesc="faster and more correct implementation of the Package::Stash API"
url="http://search.cpan.org/dist/Package-Stash-XS/"
arch="all"
license="GPL PerlArtistic"
cpandepends=""
cpanmakedepends=" perl-test-requires perl-test-fatal "
cpanmakedepends="perl-test-requires perl-test-fatal perl-yaml
perl-module-runtime perl-sub-name perl-pod-coverage"
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/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
_builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
cd "$_builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
build() {
cd "$builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
build() {
cd "$_builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
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="9664356ec3be02626cbd3081ec246b70 Package-Stash-XS-0.28.tar.gz"
sha256sums="23d8c5c25768ef1dc0ce53b975796762df0d6e244445d06e48d794886c32d486 Package-Stash-XS-0.28.tar.gz"
sha512sums="409e884998bf063f438335067ff8f702aa1f12fc686c1912ad532f6536a711273e52c140d9c407c47b7ba4ccacedec480c1542437a90dd76367dc0f732c0db38 Package-Stash-XS-0.28.tar.gz"
sha512sums="f7afcf1a67915d9990a8d63e418ebc6b6b48947b90a72a454b8197656233d8cc976f72d44e4179621628e52fa7ab9a9a74f18f95ad1999d3f45181531ed44849 Package-Stash-XS-0.29.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