[arch-commits] Commit in perl-locale-codes (3 files)

Baptiste Jonglez zorun at archlinux.org
Fri Dec 6 21:27:46 UTC 2019


    Date: Friday, December 6, 2019 @ 21:27:46
  Author: zorun
Revision: 536101

archrelease: copy trunk to community-any

Added:
  perl-locale-codes/repos/
  perl-locale-codes/repos/community-any/
  perl-locale-codes/repos/community-any/PKGBUILD
    (from rev 536099, perl-locale-codes/trunk/PKGBUILD)

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

Copied: perl-locale-codes/repos/community-any/PKGBUILD (from rev 536099, perl-locale-codes/trunk/PKGBUILD)
===================================================================
--- repos/community-any/PKGBUILD	                        (rev 0)
+++ repos/community-any/PKGBUILD	2019-12-06 21:27:46 UTC (rev 536101)
@@ -0,0 +1,35 @@
+# Maintainer: Baptiste Jonglez <baptiste--aur at jonglez dot org>
+pkgname=perl-locale-codes
+pkgver=3.62
+pkgrel=1
+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