[arch-commits] Commit in perl-perlio-utf8-strict/repos (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Sun May 29 10:20:32 UTC 2022


    Date: Sunday, May 29, 2022 @ 10:20:32
  Author: felixonmars
Revision: 446759

archrelease: copy trunk to staging-x86_64

Added:
  perl-perlio-utf8-strict/repos/staging-x86_64/
  perl-perlio-utf8-strict/repos/staging-x86_64/PKGBUILD
    (from rev 446758, perl-perlio-utf8-strict/trunk/PKGBUILD)

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

Copied: perl-perlio-utf8-strict/repos/staging-x86_64/PKGBUILD (from rev 446758, perl-perlio-utf8-strict/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2022-05-29 10:20:32 UTC (rev 446759)
@@ -0,0 +1,37 @@
+# Maintainer: Rémy Oudompheng <remy at archlinux.org>
+
+pkgname='perl-perlio-utf8-strict'
+_dist=PerlIO-utf8_strict
+pkgver=0.008
+pkgrel=2
+pkgdesc="Fast and correct UTF-8 PerlIO"
+arch=('x86_64')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl')
+makedepends=('perl-test-exception')
+url="https://metacpan.org/release/${_dist}"
+source=(https://search.cpan.org/CPAN/authors/id/L/LE/LEONT/${_dist}-${pkgver}.tar.gz)
+md5sums=('0e2a940e1759c4d322958ef6ebc2e52f')
+sha256sums=('5f798ded50dcc7d421b57850f837310666d817f4c67c15ba0f5a1d38c74df459')
+
+build() {
+    cd "${srcdir}/${_dist}-${pkgver}"
+    unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+    export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+    perl Makefile.PL
+    make
+}
+
+check() {
+    cd "${srcdir}/${_dist}-${pkgver}"
+    unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+    export PERL_MM_USE_DEFAULT=1
+    make test
+}
+
+package() {
+    cd "${srcdir}/${_dist}-${pkgver}"
+    unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+    make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
+}



More information about the arch-commits mailing list