1 # CPAN Name : Scalar-List-Utils
2 # Contributor: Caleb Cushing <xenoterracide@gmail.com>
3 # Generator : CPANPLUS::Dist::Arch 1.03
4 # Template @ http://github.com/xenoterracide/AURpan/blob/master/perl-scalar-list-utils/PKGBUILD.tt
5 # File bugs @ http://github.com/xenoterracide/AURpan/issues
7 pkgname='perl-scalar-list-utils'
10 pkgdesc="Scalar utilities (dualvar reftype etc)"
11 arch=('i686' 'x86_64')
12 url='http://search.cpan.org/dist/Scalar-List-Utils'
13 license=('PerlArtistic' 'GPL')
16 replaces=('perl-scalar-util')
17 options=('!emptydirs')
19 source=('http://search.cpan.org/CPAN/authors/id/G/GB/GBARR/Scalar-List-Utils-1.23.tar.gz')
20 md5sums=('2e7909f8737cd6eecd8520b77326916b')
23 DIST_DIR="${srcdir}/Scalar-List-Utils-1.23"
24 export PERL_AUTOINSTALL=--skipdeps PERL_MM_USE_DEFAULT=1 \
25 PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'"
26 PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
27 MODULEBUILDRC=/dev/null
30 perl Makefile.PL INSTALLDIRS=vendor &&
33 make DESTDIR="$pkgdir" install;
36 find "$pkgdir" -name .packlist -o -name perllocal.pod -delete