# Automatically generated by apkbuild-cpan, template 1 # Maintainer: Sergey Safarov pkgname=perl-crypt-openssl-aes _realname=Crypt-OpenSSL-AES pkgver=0.02 pkgrel=2 pkgdesc="Perl module Crypt-OpenSSL-AES" url="https://metacpan.org/release/TTAR/Crypt-OpenSSL-AES-0.02" arch="all" license="GPL-1.0-or-later OR Artistic-1.0-Perl" makedepends="perl-dev openssl-dev" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/T/TT/TTAR/$_realname-$pkgver.tar.gz" builddir="$srcdir"/$_realname-$pkgver build() { export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') 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="cac503bfa22d82d8cb1873ce97aeee4f2d698a7c0d27bcc055d2e8984094c098b0244498ee80425e0c699d46d1b204c8894fd0538dd2dc1d3ea0f87c593fc918 Crypt-OpenSSL-AES-0.02.tar.gz"