# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> pkgname=perl-crypt-rijndael _pkgreal=Crypt-Rijndael _author=LEONT _au=${_author%%"${_author#??}"} _a=${_author%%"${_author#?}"} pkgver=1.16 pkgrel=0 pkgdesc="Crypt::CBC compliant Rijndael encryption module" url="https://metacpan.org/release/Crypt-Rijndael" arch="all" license="LGPL-3.0+" depends="perl perl-test-manifest" makedepends="perl-dev" subpackages="$pkgname-doc" source="https://search.cpan.org/CPAN/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" build() { PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } check() { make test } package() { make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums="e33cb691cd62d9b98f26c8f0d1365437f8a77154a4100be4969a88ad094074fb2f855fcb11541dc63743f861ef0c45944831b7f887df9bbb0b4ec36d6e0fd66d Crypt-Rijndael-1.16.tar.gz"