[arch-commits] Commit in perl-moox-types-mooselike/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Wed Aug 1 11:47:13 UTC 2018
Date: Wednesday, August 1, 2018 @ 11:47:13
Author: foutrelis
Revision: 366547
archrelease: copy trunk to community-staging-any
Added:
perl-moox-types-mooselike/repos/community-staging-any/
perl-moox-types-mooselike/repos/community-staging-any/PKGBUILD
(from rev 366546, perl-moox-types-mooselike/trunk/PKGBUILD)
----------+
PKGBUILD | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
Copied: perl-moox-types-mooselike/repos/community-staging-any/PKGBUILD (from rev 366546, perl-moox-types-mooselike/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2018-08-01 11:47:13 UTC (rev 366547)
@@ -0,0 +1,50 @@
+# Contributor: John D Jones III AKA jnbek <jnbek1972 -_AT_- g m a i l -_Dot_- com>
+# Generator : CPANPLUS::Dist::Arch 1.30
+
+pkgname='perl-moox-types-mooselike'
+pkgver=0.29
+pkgrel=4
+pkgdesc="some Moosish types and a type builder"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl-module-runtime>=0.014' 'perl-moo>=1.004002')
+makedepends=()
+checkdepends=('perl-test-fatal>=0.003')
+url='https://metacpan.org/release/MooX-Types-MooseLike'
+source=('http://search.cpan.org/CPAN/authors/id/M/MA/MATEU/MooX-Types-MooseLike-0.29.tar.gz')
+md5sums=('0905b92c1b44578e05e7f08fa7adb9ee')
+sha512sums=('69ddd0d663d1ea23dfc7e47ec35192f1951f195f70f788bac47cc93e98d9e888394c07fc39f1740b7c1fd04f8724f2b0dfa14183fe33bceb9f77c1f1d1b8752e')
+_distdir="MooX-Types-MooseLike-0.29"
+
+build() {
+ ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
+ PERL_AUTOINSTALL=--skipdeps \
+ PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='"$pkgdir"'" \
+ PERL_MB_OPT="--installdirs vendor --destdir '"$pkgdir"'" \
+ MODULEBUILDRC=/dev/null
+
+ cd "$srcdir/$_distdir"
+ /usr/bin/perl Makefile.PL
+ make
+ )
+}
+
+check() {
+ cd "$srcdir/$_distdir"
+ ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
+ make test
+ )
+}
+
+package() {
+ cd "$srcdir/$_distdir"
+ make install
+ find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+}
+
+# Local Variables:
+# mode: shell-script
+# sh-basic-offset: 2
+# End:
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list