1 # Maintainer: Giovanni Scafora <giovanni@archlinux.org>
2 # Contributor: Mark Rosenstand <mark@borkware.net>
3 # Contributor: Paul Mattal <paul@archlinux.org>
5 pkgname=perl-locale-gettext
6 _realname=Locale-gettext
9 pkgdesc="Permits access from Perl to the gettext() family of functions"
11 license=('GPL' 'PerlArtistic')
12 url="https://search.cpan.org/dist/${_realname}/"
13 depends=('gettext' 'perl')
15 source=("https://search.cpan.org/CPAN/authors/id/P/PV/PVANDRY/${_realname}-${pkgver}.tar.gz")
16 md5sums=('bc652758af65c24500f1d06a77415019')
19 cd "${srcdir}/${_realname}-${pkgver}"
21 # install module in vendor directories.
22 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
27 cd "${srcdir}/${_realname}-${pkgver}"
33 cd "${srcdir}/${_realname}-${pkgver}"
34 make install DESTDIR="${pkgdir}"
36 # remove perllocal.pod and .packlist
37 find "${pkgdir}" -name perllocal.pod -delete
38 find "${pkgdir}" -name .packlist -delete