[arch-commits] Commit in perl-text-glob/repos (staging-any staging-any/PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue May 19 08:23:30 UTC 2020
Date: Tuesday, May 19, 2020 @ 08:23:30
Author: felixonmars
Revision: 386277
archrelease: copy trunk to staging-any
Added:
perl-text-glob/repos/staging-any/
perl-text-glob/repos/staging-any/PKGBUILD
(from rev 386274, perl-text-glob/trunk/PKGBUILD)
----------+
PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
Copied: perl-text-glob/repos/staging-any/PKGBUILD (from rev 386274, perl-text-glob/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD (rev 0)
+++ staging-any/PKGBUILD 2020-05-19 08:23:30 UTC (rev 386277)
@@ -0,0 +1,39 @@
+# 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.11
+pkgrel=6
+pkgdesc="match globbing patterns against text"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl')
+makedepends=()
+url='https://search.mcpan.org/dist/Text-Glob'
+source=("https://search.mcpan.org/CPAN/authors/id/R/RC/RCLAMP/${_dist}-${pkgver}.tar.gz")
+md5sums=('d001559c504a2625dd117bd1558f07f7')
+sha512sums=('20322fee3f56ee7e65f0f8e5371d9dbbe89895d8b9c9207486e7934e29bd883fb557c9765e406f85f56b67019293d82a0318ded83a9387b164cb5e8f58bef0cb')
+
+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