[arch-commits] Commit in (3 files)

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


    Date: Friday, December 6, 2019 @ 21:27:23
  Author: zorun
Revision: 536099

perl-locale-codes: initial commit

Added:
  perl-locale-codes/
  perl-locale-codes/trunk/
  perl-locale-codes/trunk/PKGBUILD

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

Added: perl-locale-codes/trunk/PKGBUILD
===================================================================
--- perl-locale-codes/trunk/PKGBUILD	                        (rev 0)
+++ perl-locale-codes/trunk/PKGBUILD	2019-12-06 21:27:23 UTC (rev 536099)
@@ -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