# Automatically generated by apkbuild-cpan, template 1 # Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=perl-config-any _pkgreal=Config-Any pkgver=0.26 pkgrel=0 pkgdesc="Load configuration from different file formats, transparently" url="http://search.cpan.org/dist/Config-Any/" arch="noarch" license="GPL PerlArtistic" cpandepends="" cpanmakedepends="perl-module-pluggable perl-test-pod-coverage perl-test-pod perl-yaml" depends="$cpandepends" makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/B/BR/BRICAS/$_pkgreal-$pkgver.tar.gz" _builddir="$srcdir/$_pkgreal-$pkgver" prepare() { cd "$_builddir" PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor } build() { cd "$_builddir" make && make test } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } md5sums="5c5ac3e32674a98681da85a56424847a Config-Any-0.26.tar.gz" sha256sums="f9ae12d5c1f084385dd9d55dd25c09a6f69f1a76c938d4d06ea3c6d85710a594 Config-Any-0.26.tar.gz" sha512sums="15bac8e71340b181dd195ae211add730d8be01fcd7bbf4a7d3ed10b7fd2d7f207501a88a6ed03999d7207672249c4045defc931b7e9eb56e00166fdf7daccfda Config-Any-0.26.tar.gz"