diff options
Diffstat (limited to 'main/perl-cpan-meta-check/APKBUILD')
-rw-r--r-- | main/perl-cpan-meta-check/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/main/perl-cpan-meta-check/APKBUILD b/main/perl-cpan-meta-check/APKBUILD new file mode 100644 index 0000000000..e0e1f95865 --- /dev/null +++ b/main/perl-cpan-meta-check/APKBUILD @@ -0,0 +1,41 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=perl-cpan-meta-check +_pkgreal=CPAN-Meta-Check +pkgver=0.011 +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="2591aa5dd0658a6502a7bf068754e7bd CPAN-Meta-Check-0.011.tar.gz" +sha256sums="70127009da00525b3bd254ca334b857b45f1ef431fd111f383bc8d066107b15b CPAN-Meta-Check-0.011.tar.gz" +sha512sums="3140be2b6de685e84a6b363a8396a91d7423617068df5fdb52a14632d17fcab8a51eb7e2ffd74cdcee422086558d5c4bc0823c5568a5cbd73e06db84b7dbd3c0 CPAN-Meta-Check-0.011.tar.gz" |