Date: Sunday, May 29, 2022 @ 12:00:29 Author: foutrelis Revision: 1214646
archrelease: copy trunk to community-staging-any Added: perl-locale-codes/repos/community-staging-any/ perl-locale-codes/repos/community-staging-any/PKGBUILD (from rev 1214644, perl-locale-codes/trunk/PKGBUILD) ----------+ PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) Copied: perl-locale-codes/repos/community-staging-any/PKGBUILD (from rev 1214644, perl-locale-codes/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2022-05-29 12:00:29 UTC (rev 1214646) @@ -0,0 +1,35 @@ +# Maintainer: Baptiste Jonglez <baptiste--aur at jonglez dot org> +pkgname=perl-locale-codes +pkgver=3.62 +pkgrel=4 +pkgdesc='Distribution of modules to handle locale codes' +_dist=Locale-Codes +arch=('any') +url="https://metacpan.org/release/$_dist" +license=('GPL' 'PerlArtistic') +depends=(perl) +checkdepends=('perl-test-inter') +options=('!emptydirs' purge) +source=("http://search.cpan.org/CPAN/authors/id/SBECK/$_dist-$pkgver.tar.gz") +sha256sums=('11a6d343e9c321d8ee9eee4479954a4e9c1ff2145187e74fd64952092f9dfab7') + +build() { + cd "$srcdir/$_dist-$pkgver" + unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT + export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps + /usr/bin/perl Makefile.PL + make +} + +check() { + cd "$srcdir/$_dist-$pkgver" + unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT + export PERL_MM_USE_DEFAULT=1 + make test +} + +package() { + cd "$srcdir/$_dist-$pkgver" + unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT + make install INSTALLDIRS=vendor DESTDIR="$pkgdir" +}