1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-19 09:15:30 +03:00
aports/testing/perl-hash-merge/APKBUILD

37 lines
1,014 B
Text

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