# Automatically generated by apkbuild-cpan, template 3 # Maintainer: Jeff Bilyk pkgname=perl-crypt-rijndael #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan _pkgreal=Crypt-Rijndael pkgver=1.16 pkgrel=4 pkgdesc="Crypt::CBC compliant Rijndael encryption module" url="https://metacpan.org/release/Crypt-Rijndael/" arch="all" license="LGPL-2.0-or-later" depends="perl" makedepends="perl-dev" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/L/LE/LEONT/Crypt-Rijndael-$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="e33cb691cd62d9b98f26c8f0d1365437f8a77154a4100be4969a88ad094074fb2f855fcb11541dc63743f861ef0c45944831b7f887df9bbb0b4ec36d6e0fd66d Crypt-Rijndael-1.16.tar.gz"