updated on Sat Jan 14 00:11:12 UTC 2012
[aur-mirror.git] / perl-moosex-app-cmd / PKGBUILD
blobb5c898725d482466d8b3a4307cecd8115bdacea8
1 # CPAN Name  : MooseX-App-Cmd
2 # Contributor: Caleb Cushing <xenoterracide@gmail.com>
3 # Generator  : CPANPLUS::Dist::Arch 0.18
4 pkgname='perl-moosex-app-cmd'
5 pkgver='0.06'
6 pkgrel='1'
7 pkgdesc="Mashes up MooseX::Getopt and App::Cmd."
8 arch=('i686' 'x86_64')
9 license=('PerlArtistic' 'GPL')
10 options=('!emptydirs')
11 depends=('perl' 'perl-app-cmd>=0.3' 'perl-getopt-long-descriptive' 'perl-moose>=0.86' 'perl-moosex-getopt>=0.18' 'perl-test-use-ok')
12 url='http://search.cpan.org/dist/MooseX-App-Cmd'
13 source=('http://search.cpan.org/CPAN/authors/id/N/NU/NUFFIN/MooseX-App-Cmd-0.06.tar.gz')
14 md5sums=('ac8cf120e44aa99ac35d6e6baec2a265')
16 build() {
17   DIST_DIR="${srcdir}/MooseX-App-Cmd-0.06"
18   export PERL_MM_USE_DEFAULT=1
19   { cd "$DIST_DIR" &&
20     perl Makefile.PL INSTALLDIRS=vendor &&
21     make &&
22     make test &&
23     make DESTDIR="$pkgdir" install;
24   } || return 1;
26   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete