updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / perl-load / PKGBUILD
blob0457cedcb26652b3323a7312e19056b5ac80e256
1 # Contributor: Anonymous
2 # Generator  : CPANPLUS::Dist::Arch 0.14
3 pkgname='perl-load'
4 pkgver='0.20'
5 pkgrel='1'
6 pkgdesc="load - control when subroutines will be loaded"
7 arch=('i686' 'x86_64')
8 license=('PerlArtistic' 'GPL')
9 options=('!emptydirs')
10 depends=('perl')
11 url='http://search.cpan.org/dist/load'
12 source=('http://search.cpan.org/CPAN/authors/id/E/EL/ELIZABETH/load-0.20.tar.gz')
13 md5sums=('63016e026213a642147f39ef6fe2f98a')
15 build() {
16   _DISTDIR="${srcdir}/load-0.20"
17   export PERL_MM_USE_DEFAULT=1
18   { cd "$_DISTDIR" &&
19     perl Makefile.PL INSTALLDIRS=vendor &&
20     make &&
21     make test &&
22     make DESTDIR="${pkgdir}/" install;
23   } || return 1;
25   find "$pkgdir" -name .packlist -delete
26   find "$pkgdir" -name perllocal.pod -delete