From e5d274c963ab316cb72068200a6cf993bb64a73d Mon Sep 17 00:00:00 2001 From: Francesco Colista Date: Tue, 13 Sep 2016 13:59:35 +0000 Subject: community/perl-cpan-meta-check: moved from testing, upgrade to 0.013 --- community/perl-cpan-meta-check/APKBUILD | 42 +++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 community/perl-cpan-meta-check/APKBUILD (limited to 'community/perl-cpan-meta-check') diff --git a/community/perl-cpan-meta-check/APKBUILD b/community/perl-cpan-meta-check/APKBUILD new file mode 100644 index 0000000000..07478cae03 --- /dev/null +++ b/community/perl-cpan-meta-check/APKBUILD @@ -0,0 +1,42 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Francesco Colista +# Maintainer: Francesco Colista +pkgname=perl-cpan-meta-check +_pkgreal=CPAN-Meta-Check +pkgver=0.013 +pkgrel=0 +pkgdesc="Verify requirements in a CPAN::Meta object" +url="http://search.cpan.org/dist/CPAN-Meta-Check/" +arch="noarch" +license="GPL PerlArtistic" +cpandepends="" +cpanmakedepends="perl-test-deep " +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/L/LE/LEONT/$_pkgreal-$pkgver.tar.gz" +builddir="$srcdir/$_pkgreal-$pkgver" + +prepare() { + default_prepare || return 1 + + cd "$builddir" + export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor +} + +build() { + cd "$builddir" + export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') + make && make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install || return 1 + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +md5sums="7bf7867f9e898e6398b9c2e8d668bb0b CPAN-Meta-Check-0.013.tar.gz" +sha256sums="4fca09a28066e7e134d691dc25c496c838043617a93b7eec4df807df8e7f73d5 CPAN-Meta-Check-0.013.tar.gz" +sha512sums="c7bb972ce6afd21f415d0bca03f9ebefe0298e8b7db32e42f0195ae5da535da079f482c9d2bf598cb39d234b467397eb4b949b93c34c4d02b113caf76fd5a9c5 CPAN-Meta-Check-0.013.tar.gz" -- cgit v1.2.3