# Automatically generated by apkbuild-cpan, template 3 # Contributor: Timothy Legge # Maintainer: Timothy Legge pkgname=perl-net-saml2 #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan _pkgreal=Net-SAML2 pkgver=0.73 pkgrel=0 pkgdesc="SAML bindings and protocol implementation" url="https://metacpan.org/release/Net-SAML2/" arch="noarch" license="GPL-1.0-or-later OR Artistic-1.0-Perl" depends=" perl perl-crypt-openssl-x509 perl-crypt-openssl-random perl-moosex-types-common perl-xml-generator perl-uri perl-http-message perl-datetime-format-xsd perl-crypt-openssl-rsa perl-moosex-types-datetime perl-libwww perl-moosex-types-uri perl-crypt-openssl-bignum perl-namespace-autoclean perl-xml-libxml perl-crypt-openssl-verify perl-datetime perl-moose perl-datetime-hires perl-lwp-protocol-https perl-uri-encode perl-xml-sig perl-file-slurper perl-xml-enc perl-urn-oasis-saml2 perl-types-serialiser perl-moosex-types perl-try-tiny " checkdepends=" perl-test-pod-coverage perl-test-lib perl-path-tiny perl-test-exception perl-test-fatal perl-test-deep perl-xml-libxml perl-test-notabs perl-import-into perl-sub-override perl-test-pod perl-uri perl-test-mock-one " subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/T/TI/TIMLEGGE/Net-SAML2-$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=" 5f12d30c656568651f0a7c9b3dc9d1767d9fba7d5ce0509e617ab9d052b5bfbc3de697473dde3d0c649fb8af45b20e90ed0e1983f6fb53bdae1b1ee78ad60939 Net-SAML2-0.73.tar.gz "