updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / perl-lexical-persistence / PKGBUILD
blobd6cca67bb31e9ebb874170a81d70e695c67cc644
1 # Contributor: Daenyth
2 pkgname=perl-lexical-persistence
3 pkgver=1.020
4 pkgrel=1
5 pkgdesc="Perl/CPAN module Lexical::Persistence - Persistent lexical variable values for arbitrary calls."
6 arch=(any)
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')
16 build() {
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
21   make  || return 1
22   make install DESTDIR=${pkgdir} || return 1