diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-06-27 22:53:11 -0300 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-06-28 15:27:19 +0000 |
commit | e7d1a22418f60cad4e9f4f974d55ffe2c098de1b (patch) | |
tree | dff3b9bb1fec2b710279202cadf18bf9cecac623 | |
parent | 0dc3d49568eeb6521a5d5f6a676b289eb7393419 (diff) | |
download | aports-e7d1a22418f60cad4e9f4f974d55ffe2c098de1b.tar.bz2 aports-e7d1a22418f60cad4e9f4f974d55ffe2c098de1b.tar.xz |
main/perl-test-refcount: upgrade to 0.10
-rw-r--r-- | main/perl-test-refcount/APKBUILD | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/main/perl-test-refcount/APKBUILD b/main/perl-test-refcount/APKBUILD index 81af23396a..750fe022e0 100644 --- a/main/perl-test-refcount/APKBUILD +++ b/main/perl-test-refcount/APKBUILD @@ -3,38 +3,38 @@ # Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com> pkgname=perl-test-refcount _pkgreal=Test-Refcount -pkgver=0.08 +pkgver=0.10 pkgrel=0 pkgdesc="assert reference counts on objects" -url="http://search.cpan.org/dist/Test-Refcount/" +url="https://metacpan.org/release/Test-Refcount" arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends="" +license="GPL-1.0-or-later OR Artistic-1.0-Perl" depends="$cpandepends" makedepends="perl-dev $cpanmakedepends perl-module-build" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/P/PE/PEVANS/$_pkgreal-$pkgver.tar.gz" -_builddir="$srcdir/$_pkgreal-$pkgver" +builddir="$srcdir/$_pkgreal-$pkgver" prepare() { - cd "$_builddir" - perl Build.PL installdirs=vendor || return 1 + cd "$builddir" + perl Build.PL installdirs=vendor } build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - ./Build && ./Build test + cd "$builddir" + export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') + ./Build +} + +check() { + ./Build test } package() { - cd "$_builddir" - ./Build install destdir="$pkgdir" || return 1 + cd "$builddir" + ./Build install destdir="$pkgdir" find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } -md5sums="bcf11e5f0103568674bcc15d2168932e Test-Refcount-0.08.tar.gz" -sha256sums="90adbb5c8676953575d95e867b7aae763120de146268b7f4c00543e2c748cad7 Test-Refcount-0.08.tar.gz" -sha512sums="9a5ffe332f9a61c2f019963f49117f4a6af0b855371cd6aa24cc5e3edd7ee6caa54f25bcdd1edf57044c764030f8db37a1ee232d49130656643135cfac96d570 Test-Refcount-0.08.tar.gz" +sha512sums="7fac2a6bcb96da0ed61c53aaa2278e1ac998bd62314b95f307fe6ee032fd7d89264968f3ad78066186b112af0ba45960d5d1c81822bcd5f218418ea81236c4e1 Test-Refcount-0.10.tar.gz" |