# Automatically generated by apkbuild-cpan, template 3 # Contributor: Timothy Legge # Maintainer: Timothy Legge pkgname=perl-xml-sig #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan _pkgreal=XML-Sig pkgver=0.64 pkgrel=1 pkgdesc="A toolkit to help sign and verify XML Digital Signatures." url="https://metacpan.org/release/XML-Sig/" arch="noarch" license="GPL-1.0-or-later OR Artistic-1.0-Perl" depends=" perl perl-crypt-openssl-bignum perl-crypt-openssl-dsa perl-class-accessor perl-crypt-openssl-x509 perl-crypt-openssl-rsa perl-xml-libxml perl-cryptx perl-uri " checkdepends=" perl-test-exception perl-file-which perl-crypt-openssl-guess perl-namespace-autoclean perl-import-into perl-test-lib " subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/T/TI/TIMLEGGE/XML-Sig-$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=" a56427cfee14ff6a5b73b37c094bbebee2b64fbe4408326252cb768cea5f733c461f55163ea113c7389a8f8f4da6fba8145d8f71aadf57bf45267f683621a9fb XML-Sig-0.64.tar.gz "