[arch-commits] Commit in perl-locale-codes/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon May 24 11:26:49 UTC 2021
Date: Monday, May 24, 2021 @ 11:26:49
Author: felixonmars
Revision: 944465
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 944459, perl-locale-codes/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: perl-locale-codes/repos/community-staging-any/PKGBUILD (from rev 944459, perl-locale-codes/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-05-24 11:26:49 UTC (rev 944465)
@@ -0,0 +1,35 @@
+# Maintainer: Baptiste Jonglez <baptiste--aur at jonglez dot org>
+pkgname=perl-locale-codes
+pkgver=3.62
+pkgrel=3
+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