diff options
Diffstat (limited to 'main/perl-test-simple')
-rw-r--r-- | main/perl-test-simple/APKBUILD | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/main/perl-test-simple/APKBUILD b/main/perl-test-simple/APKBUILD index e5aa67a132..446458bf53 100644 --- a/main/perl-test-simple/APKBUILD +++ b/main/perl-test-simple/APKBUILD @@ -1,4 +1,4 @@ -# Automatically generated by apkbuild-cpan, template 1 +# Automatically generated by apkbuild-cpan, template 2 # Contributor: Francesco Colista <fcolista@alpinelinux.org> # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=perl-test-simple @@ -10,10 +10,12 @@ url="http://search.cpan.org/dist/Test-Simple/" arch="noarch" license="GPL PerlArtistic" cpandepends="" -cpanmakedepends=" " +cpanmakedepends="" +cpancheckdepends="" +provides="perl-test-tester" depends="$cpandepends" makedepends="perl-dev $cpanmakedepends" -provides="perl-test-tester" +checkdepends="$cpancheckdepends" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/E/EX/EXODIST/$_pkgreal-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" @@ -29,7 +31,7 @@ prepare() { build() { cd "$builddir" export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') - make && make test + make } package() { @@ -38,6 +40,12 @@ package() { find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } +check() { + cd "$builddir" + export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') + make test +} + doc() { default_doc replaces="perl-doc" |