diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2019-04-08 07:22:52 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2019-04-08 07:43:03 +0000 |
commit | 180168f330cd1fdafece8f206659ae0ee4f1cbc5 (patch) | |
tree | ce09718cf0623359d2fa0ed30c3e34ea6ca2543b /main/perl-package-stash-xs | |
parent | 7c2dc4467e97b6babd138b68e0d96ca28e721321 (diff) | |
download | aports-180168f330cd1fdafece8f206659ae0ee4f1cbc5.tar.bz2 aports-180168f330cd1fdafece8f206659ae0ee4f1cbc5.tar.xz |
main/perl-package-stash-xs: upgrade to 0.29
Diffstat (limited to 'main/perl-package-stash-xs')
-rw-r--r-- | main/perl-package-stash-xs/APKBUILD | 38 |
1 files changed, 18 insertions, 20 deletions
diff --git a/main/perl-package-stash-xs/APKBUILD b/main/perl-package-stash-xs/APKBUILD index bfe47fc82e..a935dbf85e 100644 --- a/main/perl-package-stash-xs/APKBUILD +++ b/main/perl-package-stash-xs/APKBUILD @@ -1,41 +1,39 @@ # 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" |