1 # Contributor: clu@eeviac
3 pkgname=perl-text-unidecode
6 pkgdesc='US-ASCII transliterations of Unicode text'
8 url='https://metacpan.org/pod/Text::Unidecode'
9 license=('GPL' 'PerlArtistic')
10 depends=('perl>=5.6.0')
11 options=('!emptydirs')
12 source=("https://search.cpan.org/CPAN/authors/id/S/SB/SBURKE/Text-Unidecode-${pkgver}.tar.gz")
13 sha256sums=('6c24f14ddc1d20e26161c207b73ca184eed2ef57f08b5fb2ee196e6e2e88b1c6')
16 cd "${srcdir}/Text-Unidecode-${pkgver}"
18 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
23 cd "${srcdir}/Text-Unidecode-${pkgver}"
25 make install DESTDIR=${pkgdir}
26 find ${pkgdir} -name '.packlist' -delete
27 find ${pkgdir} -name '*.pod' -delete