diff options
author | Leo <thinkabit.ukim@gmail.com> | 2020-10-22 03:21:29 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-10-22 03:21:38 -0300 |
commit | 4119212d02db3c7b497ba6951408019ec72996e1 (patch) | |
tree | e85e194d6da02c15dac99ee940f8089026602fe8 /main/perl-test-simple | |
parent | cd20c3c60433fd20b7e57723575a5944dc6ae42f (diff) | |
download | aports-4119212d02db3c7b497ba6951408019ec72996e1.zip |
main/perl-test-simple: upgrade to 1.302183
Diffstat (limited to 'main/perl-test-simple')
-rw-r--r-- | main/perl-test-simple/APKBUILD | 32 |
1 files changed, 11 insertions, 21 deletions
diff --git a/main/perl-test-simple/APKBUILD b/main/perl-test-simple/APKBUILD index dbc22eb7c22..96a0b50d548 100644 --- a/main/perl-test-simple/APKBUILD +++ b/main/perl-test-simple/APKBUILD @@ -1,47 +1,37 @@ -# Automatically generated by apkbuild-cpan, template 2 +# Automatically generated by apkbuild-cpan, template 3 # Contributor: Francesco Colista <fcolista@alpinelinux.org> # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=perl-test-simple +#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan _pkgreal=Test-Simple -pkgver=1.302182 +pkgver=1.302183 pkgrel=0 pkgdesc="Basic utilities for writing tests" -url="https://metacpan.org/release/Test-Simple" +url="https://metacpan.org/release/Test-Simple/" arch="noarch" license="GPL-1.0-or-later OR Artistic-1.0-Perl" -provides="perl-test-tester" depends="perl" makedepends="perl-dev" subpackages="$pkgname-doc" -source="https://cpan.metacpan.org/authors/id/E/EX/EXODIST/$_pkgreal-$pkgver.tar.gz" +source="https://cpan.metacpan.org/authors/id/E/EX/EXODIST/Test-Simple-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" -prepare() { - default_prepare - - export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} +provides="perl-test-tester" build() { export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') + PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor make } -package() { - make DESTDIR="$pkgdir" install - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - check() { export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') make test } -doc() { - default_doc - replaces="perl-doc" +package() { + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } - -sha512sums="38f7372c5c236032f59f7589d07da55fc99a1cbb5b6347f1eeb854932106ff8ac42c2c0a04bce5a4b7cf771968fd26fb6648d92546ed97a195667b356639498d Test-Simple-1.302182.tar.gz" +sha512sums="762be99cfc9497ea7ad6c95405764ebb4afad12a4d2fdee64c16768a4b5806a0ec05c54c6482228efb066988a7105d535aaffa4d961d3670f3c6c2bf438f5421 Test-Simple-1.302183.tar.gz" |