[arch-commits] Commit in perl-text-glob/repos (testing-any testing-any/PKGBUILD)

Rémy Oudompheng remy at archlinux.org
Sun Jun 26 21:42:17 UTC 2016


    Date: Sunday, June 26, 2016 @ 21:42:17
  Author: remy
Revision: 270697

archrelease: copy trunk to testing-any

Added:
  perl-text-glob/repos/testing-any/
  perl-text-glob/repos/testing-any/PKGBUILD
    (from rev 270696, perl-text-glob/trunk/PKGBUILD)

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

Copied: perl-text-glob/repos/testing-any/PKGBUILD (from rev 270696, perl-text-glob/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2016-06-26 21:42:17 UTC (rev 270697)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Rémy Oudompheng <remy at archlinux.org>
+# Contributor: John D Jones III <jnbek1972 -_AT_- g m a i l -_Dot_- com>
+# Generator  : CPANPLUS::Dist::Arch 1.28
+
+pkgname='perl-text-glob'
+_dist="Text-Glob"
+pkgver=0.09
+pkgrel=4
+pkgdesc="match globbing patterns against text"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl')
+makedepends=()
+url='http://search.mcpan.org/dist/Text-Glob'
+source=("http://search.mcpan.org/CPAN/authors/id/R/RC/RCLAMP/${_dist}-${pkgver}.tar.gz")
+md5sums=('1daa10e087f891c49b720a5c551a024b')
+sha512sums=('9b729e4ece88ad79e1b637c7f35e5e1ecae3fd7f62c408ed4f3fcac2e8e8afff32d7d805e1b0269800aada5ae609d03335d42ac54def2797d301e91fa488ae47')
+
+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