# Automatically generated by apkbuild-cpan, template 3 # Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=perl-crypt-pbkdf2 #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan _pkgreal=Crypt-PBKDF2 pkgver=0.161520 pkgrel=1 pkgdesc="The PBKDF2 password hash algorithm" url="https://metacpan.org/release/Crypt-PBKDF2/" arch="noarch" license="GPL-1.0-or-later OR Artistic-1.0-Perl" depends=" perl perl-module-runtime perl-try-tiny perl-type-tiny perl-strictures perl-moo perl-digest-hmac perl-digest-sha3 perl-namespace-autoclean " makedepends="perl-test-fatal" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/A/AR/ARODLAND/Crypt-PBKDF2-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" build() { export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor make } check() { export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') make test } package() { make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums="0f5dfd6c642fcc3b34bc96f10b6f7344a8f3bac1bda6c610e85099906545bc78953666415240e793deae6db055df6f1007f3a946973ee960921cec4069de3a0a Crypt-PBKDF2-0.161520.tar.gz"