Commit 72016ebb authored by Francesco Colista's avatar Francesco Colista

testing/perl-cpan-meta-check: new aport

parent 87bd327e
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
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=""
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="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"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment