# Automatically generated by apkbuild-cpan, template 3 # Contributor: Valery Kartel # Maintainer: Valery Kartel pkgname=perl-encode-hanextra #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan _pkgreal=Encode-HanExtra pkgver=0.23 pkgrel=11 pkgdesc="Extra sets of Chinese encodings" url="https://metacpan.org/release/Encode-HanExtra/" arch="all" license="MIT" depends="perl" makedepends="perl-dev" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/A/AU/AUDREYT/Encode-HanExtra-$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=" 218083b9b3b4517cfc714169479cba0689a3586d9abb24bcc79d3401d37dd9412cb4e878b6aad06676d5c4f0e03cc69dcaf2e5f48036e2da6f336508c381e462 Encode-HanExtra-0.23.tar.gz "