updated on Wed Jan 25 00:20:47 UTC 2012
[aur-mirror.git] / perl-catalystx-injectcomponent / PKGBUILD
blob1cdc20e7b41214e86413b897dff8637fd601120b
1 # Contributor: Caleb Cushing <xenoterracide@gmail.com>
2 # Generator  : CPANPLUS::Dist::Arch 0.18
3 pkgname='perl-catalystx-injectcomponent'
4 pkgver='0.024'
5 pkgrel='1'
6 pkgdesc="Inject components into your Catalyst application"
7 arch=('i686' 'x86_64')
8 license=('PerlArtistic' 'GPL')
9 options=('!emptydirs')
10 depends=('perl' 'perl-catalyst-runtime>=5.8' 'perl-class-inspector' 'perl-test-most')
11 url='http://search.cpan.org/dist/CatalystX-InjectComponent'
12 source=('http://search.cpan.org/CPAN/authors/id/R/RK/RKRIMEN/CatalystX-InjectComponent-0.024.tar.gz')
13 md5sums=('9e6aa756ed402b9397c6d8023033e36b')
15 build() {
16   DIST_DIR="${srcdir}/CatalystX-InjectComponent-0.024"
17   export PERL_MM_USE_DEFAULT=1
18   { cd "$DIST_DIR" &&
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