# Automatically generated by apkbuild-cpan, template 1 # Contributor: Natanael Copa # Maintainer: Natanael Copa pkgname=perl-cpan-meta-check _pkgreal=CPAN-Meta-Check pkgver=0.012 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="perl-module-metadata>=1.000023" 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() { 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="adb415398390e83f09e4b91f73a6fd7f CPAN-Meta-Check-0.012.tar.gz" sha256sums="4b4cd9a2ac788456fb43f32e40a380cb29122bb3b4082c70a008366d2881d5e7 CPAN-Meta-Check-0.012.tar.gz" sha512sums="99ec6721dfb6be8fae7e5a4f6418d4d12d8d093df11f0596480ecc19a46ef3af3fc3da91ccdd7110f974e8f4d04e33166d76804b673a019bc4994f96b7078e7d CPAN-Meta-Check-0.012.tar.gz"