[arch-commits] Commit in perl-class-method-modifiers/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Wed Aug 1 09:45:49 UTC 2018
Date: Wednesday, August 1, 2018 @ 09:45:49
Author: felixonmars
Revision: 366444
archrelease: copy trunk to community-staging-any
Added:
perl-class-method-modifiers/repos/community-staging-any/
perl-class-method-modifiers/repos/community-staging-any/PKGBUILD
(from rev 366443, perl-class-method-modifiers/trunk/PKGBUILD)
----------+
PKGBUILD | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 52 insertions(+)
Copied: perl-class-method-modifiers/repos/community-staging-any/PKGBUILD (from rev 366443, perl-class-method-modifiers/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2018-08-01 09:45:49 UTC (rev 366444)
@@ -0,0 +1,52 @@
+# Maintainer: Moritz Bunkus <moritz at bunkus.org>
+
+pkgname='perl-class-method-modifiers'
+pkgver=2.12
+pkgrel=4
+pkgdesc="provides Moose-like method modifiers"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl')
+makedepends=('perl-test-fatal' 'perl-test-requires')
+url='http://search.cpan.org/dist/Class-Method-Modifiers'
+source=("https://cpan.metacpan.org/authors/id/E/ET/ETHER/Class-Method-Modifiers-${pkgver}.tar.gz")
+sha512sums=('18c7cdff214d39a475b116cc5e6dda043c31765bcdfa9a1fa7242ce61e42583c4981d41a43ba556fb5a057e0cfbd5e52dd60048ea7dfae0fec3618dc47876dd4')
+
+build() {
+ cd "${srcdir}/Class-Method-Modifiers-${pkgver}"
+ 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
+ perl Makefile.PL
+ make
+}
+
+check() {
+ cd "${srcdir}/Class-Method-Modifiers-${pkgver}"
+ 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
+ make test
+}
+
+package() {
+ cd "${srcdir}/Class-Method-Modifiers-${pkgver}"
+ 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
+ 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