2 pkgname=perl-lexical-persistence
5 pkgdesc="Perl/CPAN module Lexical::Persistence - Persistent lexical variable values for arbitrary calls."
7 license=(GPL PerlArtistic)
8 url="http://search.cpan.org/dist/Lexical-Persistence/lib/Lexical/Persistence.pm"
9 options=(!emptydirs purge)
11 depends=(perl-devel-lexalias)
13 source=(http://search.cpan.org/CPAN/authors/id/R/RC/RCAPUTO/Lexical-Persistence-$pkgver.tar.gz)
14 md5sums=('22fc0a2486c6746bdd1a635f42889809')
17 cd "${srcdir}/Lexical-Persistence-${pkgver}"
19 # install module in vendor directories.
20 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
22 make install DESTDIR=${pkgdir} || return 1