1 # Contributor: Sergey Dovgal <arcadoss@gmail.com>
3 pkgname=perl-exporter-lite
4 _realname=Exporter-Lite
7 pkgdesc="Exporter::Lite - Lightweight exporting of variables"
9 license=('PerlArtistic')
10 url="http://search.cpan.org/~mschwern/$_realname-$pkgver/"
11 depends=('perl>=5.10.0')
13 source=(http://search.cpan.org/CPAN/authors/id/M/MS/MSCHWERN/$_realname-$pkgver.tar.gz)
14 md5sums=('e2ed5978a09020de16b5cf30c84566b0')
17 cd ${srcdir}/${_realname}-${pkgver}
18 # install module in vendor directories.
19 perl Makefile.PL INSTALLDIRS=vendor || return 1
21 make install DESTDIR=${pkgdir} || return 1
23 # remove perllocal.pod and .packlist
24 find ${pkgdir} -name perllocal.pod -delete
25 find ${pkgdir} -name .packlist -delete
27 # vim: ts=2 sw=2 et ft=sh