updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / perl-catalyst-plugin-autocrud / PKGBUILD
blob761e10919c02ac0a64f8d8bac033298318a6b943
1 # CPAN Name  : Catalyst-Plugin-AutoCRUD
2 # Contributor: Caleb Cushing <xenoterracide@gmail.com>
3 # Generator  : CPANPLUS::Dist::Arch 0.18
4 pkgname='perl-catalyst-plugin-autocrud'
5 pkgver='0.68'
6 pkgrel='1'
7 pkgdesc="Instant AJAX web front-end for DBIx::Class"
8 arch=('any')
9 license=('PerlArtistic' 'GPL')
10 options=('!emptydirs')
11 depends=('perl' 'perl-catalyst-action-renderview' 'perl-catalyst-model-dbic-schema' 'perl-catalyst-runtime>=5.70' 'perl-catalyst-view-json' 'perl-catalyst-view-tt' 'perl-extutils-makemaker>=6.56' 'perl-json-any' 'perl-mro-compat' 'perl-test-www-mechanize>=1.16' 'perl-test-www-mechanize-catalyst>=0.42')
12 url='http://search.cpan.org/dist/Catalyst-Plugin-AutoCRUD'
13 source=('http://search.cpan.org/CPAN/authors/id/O/OL/OLIVER/Catalyst-Plugin-AutoCRUD-0.68.tar.gz')
14 md5sums=('1f1478604234c1b8ff0bcdad795b2ee7')
16 build() {
17   DIST_DIR="${srcdir}/Catalyst-Plugin-AutoCRUD-0.68"
18   export PERL_MM_USE_DEFAULT=1
19   { cd "$DIST_DIR" &&    perl Makefile.PL INSTALLDIRS=vendor &&
20     make &&make test &&
21     make DESTDIR="$pkgdir" install;  } || return 1;
23   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete