# Automatically generated by apkbuild-cpan, template 1 # Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=perl-hash-merge _pkgreal=Hash-Merge pkgver=0.300 pkgrel=1 pkgdesc="Merges arbitrarily deep hashes into a single hash" url="https://metacpan.org/release/Hash-Merge/" arch="noarch" license="GPL PerlArtistic" cpandepends="perl-clone" makedepends="perl-dev" checkdepends="perl-clone-choose" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/R/RE/REHSACK/$_pkgreal-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" prepare() { default_prepare cd "$builddir" PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor } build() { cd "$builddir" make } check() { cd "$builddir" make test } package() { cd "$builddir" make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums="a7d988f64ff2487b4d1237d01d424ea49c99fd64b721b331735223b86342f54442007ee371f0a94646f835997446cc99e857b3cd23429639bf47af8fe42bad2e Hash-Merge-0.300.tar.gz"