# Automatically generated by apkbuild-cpan, template 3 # Contributor: Timothy Legge # Maintainer: Timothy Legge pkgname=perl-crypt-jwt #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan _pkgreal=Crypt-JWT pkgver=0.034 pkgrel=1 pkgdesc="JSON Web Token" url="https://metacpan.org/release/Crypt-JWT/" arch="noarch" license="GPL-1.0-or-later OR Artistic-1.0-Perl" depends="perl perl-json perl-cryptx" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/M/MI/MIK/Crypt-JWT-$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=" 0fc2012aeb5721d9b5992faf827da5e681353db3eff5fe26367001f5c583af61b2ec277b360938f3659890b0754d86d4248b8507a6538bc5794457efcfa77a09 Crypt-JWT-0.034.tar.gz "