diff options
Diffstat (limited to 'main/perl-params-classify/APKBUILD')
-rw-r--r-- | main/perl-params-classify/APKBUILD | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/main/perl-params-classify/APKBUILD b/main/perl-params-classify/APKBUILD index bcf20f54e6..0c5481c500 100644 --- a/main/perl-params-classify/APKBUILD +++ b/main/perl-params-classify/APKBUILD @@ -4,7 +4,7 @@ pkgname=perl-params-classify _pkgreal=Params-Classify pkgver=0.013 -pkgrel=5 +pkgrel=6 pkgdesc="argument type classification" url="http://search.cpan.org/dist/Params-Classify/" arch="all" @@ -12,30 +12,31 @@ license="GPL PerlArtistic" cpandepends="" cpanmakedepends="" depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends perl-module-build +makedepends="perl-dev $cpanmakedepends perl-module-build perl-test-pod-coverage perl-test-pod" subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/Z/ZE/ZEFRAM/$_pkgreal-$pkgver.tar.gz" +source="http://search.cpan.org/CPAN/authors/id/Z/ZE/ZEFRAM/$_pkgreal-$pkgver.tar.gz + Params-Classify-0.013-Fix-5.25-or-5.22-24-with-PERL_OP_PARENT.patch + " -_builddir="$srcdir/$_pkgreal-$pkgver" +builddir="$srcdir/$_pkgreal-$pkgver" -prepare() { - cd "$_builddir" +build() { + cd "$builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` perl Build.PL installdirs=vendor || return 1 } -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` +check() { + cd "$builddir" ./Build && ./Build test } package() { - cd "$_builddir" + cd "$builddir" ./Build install destdir="$pkgdir" || return 1 find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } -md5sums="63d24fbec775472ada49d16bce4a9b1f Params-Classify-0.013.tar.gz" -sha256sums="4101af81c0a44728a220308db4b47c6a4a80d6d1c63f6973cf5f535752d39eb4 Params-Classify-0.013.tar.gz" -sha512sums="8638d0d952854770049a8cf382ce02f6164025ad7224588d41be02f504947cb9d309d95c33d8fc1c2e3b5de6dfdbeac7fdaf9cd16dd6ba0a3d546c7a002e65e6 Params-Classify-0.013.tar.gz" +sha512sums="8638d0d952854770049a8cf382ce02f6164025ad7224588d41be02f504947cb9d309d95c33d8fc1c2e3b5de6dfdbeac7fdaf9cd16dd6ba0a3d546c7a002e65e6 Params-Classify-0.013.tar.gz +ff3030a3aee57944b61871971b3ab5354b83f3328d7ae737eeb4f09164f5ab17769943c72ab2b88495e8e8a3fd8f8ec419124cc3aaa4b9941cffaf9553731391 Params-Classify-0.013-Fix-5.25-or-5.22-24-with-PERL_OP_PARENT.patch" |