1 # Maintainer: Moritz Bunkus <moritz@bunkus.org>
3 pkgname='perl-class-method-modifiers'
6 pkgdesc="provides Moose-like method modifiers"
8 license=('PerlArtistic' 'GPL')
11 makedepends=('perl-test-fatal' 'perl-test-requires' 'perl-test-needs')
12 url='https://search.cpan.org/dist/Class-Method-Modifiers'
13 source=("https://cpan.metacpan.org/authors/id/E/ET/ETHER/Class-Method-Modifiers-${pkgver}.tar.gz")
14 sha512sums=('427d21418516ff296b5a536a2d1f13b81b92d36f1c17c2366bc65fd2f05bf6afc7d02a4257033f53ee14d806b43e8d4322c6eac256d1c0e892926c4e7f878995')
17 cd "${srcdir}/Class-Method-Modifiers-${pkgver}"
18 export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
19 PERL_AUTOINSTALL=--skipdeps \
20 PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='"$pkgdir"'" \
21 PERL_MB_OPT="--installdirs vendor --destdir '"$pkgdir"'" \
22 MODULEBUILDRC=/dev/null
28 cd "${srcdir}/Class-Method-Modifiers-${pkgver}"
29 export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
30 PERL_AUTOINSTALL=--skipdeps \
31 PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='"$pkgdir"'" \
32 PERL_MB_OPT="--installdirs vendor --destdir '"$pkgdir"'" \
33 MODULEBUILDRC=/dev/null
38 cd "${srcdir}/Class-Method-Modifiers-${pkgver}"
39 export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
40 PERL_AUTOINSTALL=--skipdeps \
41 PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='"$pkgdir"'" \
42 PERL_MB_OPT="--installdirs vendor --destdir '"$pkgdir"'" \
43 MODULEBUILDRC=/dev/null
45 find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
52 # vim:set ts=2 sw=2 et: