# Automatically generated by apkbuild-cpan, template 1 # Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=perl-unicode-collate _pkgreal=Unicode-Collate pkgver=1.31 pkgrel=2 pkgdesc="Unicode Collation Algorithm" url="https://metacpan.org/release/Unicode-Collate/" arch="all" license="GPL-1.0-or-later OR Artistic-1.0-Perl" depends="perl" makedepends="perl-dev" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/S/SA/SADAHIRO/$_pkgreal-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$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 } doc() { default_doc replaces="perl-doc" } sha512sums=" fff8f06ae561100006ce0ab2aabe561e27fee30237db8da804c94c70eee9787e05b19c5908614ddbb3b263a0fdaea9a9933bc74818951e009a280afa782e19d1 Unicode-Collate-1.31.tar.gz "