updated on Tue Jan 17 12:00:36 UTC 2012
[aur-mirror.git] / perl-list-allutils / PKGBUILD
blob91b70e05f5986b53fdcb17d9ca3c55be3f8d24b5
1 # CPAN Name  : List-AllUtils
2 # Contributor: Max Roder <maxroder@web.de>
3 # Contributor: Stefan Husmann <stefan-husmann@t-online.de>
4 # Generator  : CPANPLUS::Dist::Arch 1.19
6 pkgname='perl-list-allutils'
7 pkgver='0.02'
8 pkgrel='1'
9 pkgdesc="Combines List::Util and List::MoreUtils in one bite-sized package"
10 arch=('any')
11 license=('PerlArtistic' 'GPL')
12 options=('!emptydirs')
13 depends=('perl-list-moreutils>=0.22')
14 makedepends=()
15 url='http://search.cpan.org/dist/List-AllUtils'
16 source=('http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/List-AllUtils-0.02.tar.gz')
17 md5sums=('db54e18b6dd61acdff0210a24127719c')
18 sha512sums=('58fff6c4cf1913e2ff3e8ea70e06409ef7ce22716999ad7356e70d86f9fc13289b721cca7ce61e838452dece5b0fe03b9bfed8125bda28d8fabdcbf4fd327d42')
19 _distdir="${srcdir}/List-AllUtils-0.02"
21 build() {
22   ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""                 \
23       PERL_AUTOINSTALL=--skipdeps                            \
24       PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'"     \
25       PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
26       MODULEBUILDRC=/dev/null
28     cd "$_distdir"
29     /usr/bin/perl Makefile.PL
30     make
31   )
34 check() {
35   cd "$_distdir"
36   ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
37     make test
38   )
41 package() {
42   cd "$_distdir"
43   make install
44   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
47 # Local Variables:
48 # mode: shell-script
49 # sh-basic-offset: 2
50 # End:
51 # vim:set ts=2 sw=2 et: