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

Felix Yan felixonmars at archlinux.org
Sun Jun 21 10:42:48 UTC 2020


    Date: Sunday, June 21, 2020 @ 10:42:47
  Author: felixonmars
Revision: 389750

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 389748, perl-perlio-utf8-strict/trunk/PKGBUILD)

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

Copied: perl-perlio-utf8-strict/repos/staging-x86_64/PKGBUILD (from rev 389748, perl-perlio-utf8-strict/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-06-21 10:42:47 UTC (rev 389750)
@@ -0,0 +1,38 @@
+# Maintainer: Rémy Oudompheng <remy at archlinux.org>
+
+pkgname='perl-perlio-utf8-strict'
+_dist=PerlIO-utf8_strict
+pkgver=0.007
+pkgrel=6
+pkgdesc="Fast and correct UTF-8 PerlIO"
+arch=('i686' '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=('9e8fba7f15c612c4f2ed2f961bf1141b')
+sha256sums=('83a33f2fe046cb3ad6afc80790635a423e2c7c6854afacc6998cd46951cc81cb')
+
+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