1 # Maintainer: Konstantin Gizdov <arch at kge dot pw>
2 pkgname=perl-locale-codes
5 pkgdesc='Distribution of modules to handle locale codes'
8 url="https://metacpan.org/release/${_dist}"
9 license=('GPL' 'PerlArtistic')
11 checkdepends=('perl-test-inter')
12 options=('!emptydirs' purge)
13 source=("https://search.cpan.org/CPAN/authors/id/SBECK/${_dist}-${pkgver}.tar.gz")
14 sha256sums=('5859c087d6f977ee237bc762396adb352b9732d325ccbd2cecacdad63e2f1320')
17 cd "${srcdir}/${_dist}-${pkgver}"
18 unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
19 export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
20 /usr/bin/perl Makefile.PL
25 cd "${srcdir}/${_dist}-${pkgver}"
26 unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
27 export PERL_MM_USE_DEFAULT=1
32 cd "${srcdir}/${_dist}-${pkgver}"
33 unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
34 make install INSTALLDIRS=vendor DESTDIR="${pkgdir}"