1 # Maintainer: Sergej Pupykin <arch+pub@sergej.pp.ru>
2 # Montainer: 3ED <krzysztof1987 at gmail dot com>
5 pkgname=perl-eval-closure
10 pkgdesc="safely and cleanly create closures via string eval"
12 license=('PerlArtistic' 'GPL')
13 options=('!emptydirs')
14 depends=('perl-try-tiny' 'perl-sub-exporter')
15 checkdepends=('perl-test-requires' 'perl-test-fatal' 'perl-test-output')
16 url="https://metacpan.org/release/${_pkgname}"
17 source=(https://cpan.metacpan.org/authors/id/${_lastauthor}/${_pkgname}-${pkgver}.tar.gz)
18 md5sums=('ceeb1fc579ac9af981fa6b600538c285')
21 export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL="--skipdeps" \
22 PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='"$pkgdir"'" \
23 PERL_MB_OPT="--installdirs vendor --destdir '"$pkgdir"'" \
24 MODULEBUILDRC=/dev/null
26 cd "${srcdir}/${_pkgname}-${pkgver}"
31 cd "${srcdir}/${_pkgname}-${pkgver}"
35 cd "${srcdir}/${_pkgname}-${pkgver}"