1 # Contributor: Natal Ngétal <hobbestigrou@erakis.im>
2 # Generator : CPANPLUS::Dist::Arch 1.19
4 pkgname='perl-relative'
7 pkgdesc="Load modules with relative names"
9 license=('PerlArtistic' 'GPL')
10 options=('!emptydirs')
11 depends=('perl-universal-require')
13 url='http://search.cpan.org/dist/relative'
14 source=('http://search.cpan.org/CPAN/authors/id/S/SA/SAPER/relative-0.04.tar.gz')
15 md5sums=('923b48653599f2f7fcc7eba12db462ea')
16 sha512sums=('0aa397524b8f1a4ced037ddb65e228b7d2acacc9580c7aa800673168d03a4a80ac0c3805bfd7d91e90fbc054ceb2d1b5dc0980ef99c35cbd3e15a55148ff71b0')
17 _distdir="${srcdir}/relative-0.04"
20 ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
21 PERL_AUTOINSTALL=--skipdeps \
22 PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
23 PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
24 MODULEBUILDRC=/dev/null
27 /usr/bin/perl Makefile.PL
34 ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
42 find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
49 # vim:set ts=2 sw=2 et: