diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-09-13 13:59:35 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-09-13 13:59:35 +0000 |
commit | e5d274c963ab316cb72068200a6cf993bb64a73d (patch) | |
tree | 4309c8ffe75b6890b06edd046095aa0d27ec3a84 /community | |
parent | 6d132b5b378ec9b357cdeb8014fe0b681b14cde6 (diff) | |
download | aports-e5d274c963ab316cb72068200a6cf993bb64a73d.tar.bz2 aports-e5d274c963ab316cb72068200a6cf993bb64a73d.tar.xz |
community/perl-cpan-meta-check: moved from testing, upgrade to 0.013
Diffstat (limited to 'community')
-rw-r--r-- | community/perl-cpan-meta-check/APKBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
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 <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +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" |