[arch-commits] Commit in perl-perlio-utf8-strict/repos (2 files)
Rémy Oudompheng
remy at archlinux.org
Wed Nov 15 21:44:12 UTC 2017
Date: Wednesday, November 15, 2017 @ 21:44:11
Author: remy
Revision: 310023
archrelease: copy trunk to extra-x86_64
Added:
perl-perlio-utf8-strict/repos/extra-x86_64/
perl-perlio-utf8-strict/repos/extra-x86_64/PKGBUILD
(from rev 310022, perl-perlio-utf8-strict/trunk/PKGBUILD)
----------+
PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
Copied: perl-perlio-utf8-strict/repos/extra-x86_64/PKGBUILD (from rev 310022, perl-perlio-utf8-strict/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2017-11-15 21:44:11 UTC (rev 310023)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Rémy Oudompheng <remy at archlinux.org>
+
+pkgname='perl-perlio-utf8-strict'
+_dist=PerlIO-utf8_strict
+pkgver=0.007
+pkgrel=1
+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=(http://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