[arch-commits] Commit in perl-locale-codes/repos (2 files)

Felix Yan felixonmars at archlinux.org
Sun Jun 21 16:07:31 UTC 2020


    Date: Sunday, June 21, 2020 @ 16:07:30
  Author: felixonmars
Revision: 649616

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 649613, perl-locale-codes/trunk/PKGBUILD)

----------+
 PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

Copied: perl-locale-codes/repos/community-staging-any/PKGBUILD (from rev 649613, perl-locale-codes/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-06-21 16:07:30 UTC (rev 649616)
@@ -0,0 +1,35 @@
+# Maintainer: Baptiste Jonglez <baptiste--aur at jonglez dot org>
+pkgname=perl-locale-codes
+pkgver=3.62
+pkgrel=2
+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"
+}



More information about the arch-commits mailing list