updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / perl-exporter-lite / PKGBUILD
blob136d18358d19ed2f076f3524bd5898fbbe52df22
1 # Contributor: Sergey Dovgal <arcadoss@gmail.com> 
3 pkgname=perl-exporter-lite
4 _realname=Exporter-Lite
5 pkgver=0.02
6 pkgrel=1
7 pkgdesc="Exporter::Lite - Lightweight exporting of variables"
8 arch=(i686 x86_64)
9 license=('PerlArtistic')
10 url="http://search.cpan.org/~mschwern/$_realname-$pkgver/"
11 depends=('perl>=5.10.0')
12 options=(!emptydirs)
13 source=(http://search.cpan.org/CPAN/authors/id/M/MS/MSCHWERN/$_realname-$pkgver.tar.gz)
14 md5sums=('e2ed5978a09020de16b5cf30c84566b0')
16 build() {
17   cd ${srcdir}/${_realname}-${pkgver}
18   # install module in vendor directories.
19   perl Makefile.PL INSTALLDIRS=vendor || return 1
20   make  || 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