updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / perl-catalystx-menu-tree / PKGBUILD
blobceb47ca58c948ddda6bbb8d6a4bdf46aff874fab
1 # Contributor: Caleb Cushing <xenoterracide@gmail.com>
2 # Generator  : CPANPLUS::Dist::Arch 0.16
3 pkgname='perl-catalystx-menu-tree'
4 pkgver='0.02'
5 pkgrel='1'
6 pkgdesc="Generate Catalyst application menus"
7 arch=('i686' 'x86_64')
8 license=('PerlArtistic' 'GPL')
9 options=('!emptydirs')
10 depends=('perl' 'perl-catalyst-runtime' 'perl-mro-compat')
11 url='http://search.cpan.org/dist/CatalystX-Menu-Tree'
12 source=('http://search.cpan.org/CPAN/authors/id/C/CO/CONVERTER/CatalystX-Menu-Tree-0.02.tar.gz')
13 md5sums=('2eb58543ac89b40c8e1a7bd93d027b9c')
15 build() {
16   _DISTDIR="${srcdir}/CatalystX-Menu-Tree-0.02"
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 -o -name perllocal.pod -delete