1 # Contributor: vti <viacheslav.t AT gmail.com>
6 pkgdesc="Perl/CPAN Module Mojo: The Web In A Box!"
8 license=('PerlArtistic')
9 url="http://mojolicious.org"
10 depends=('perl>=5.10.0')
15 _gitroot='git://github.com/kraih/mojo'
21 msg "Connecting to github.com GIT server...."
23 if [ -d $startdir/src/$_gitname ] ; then
24 cd $_gitname && git pull origin
25 msg "The local files are updated."
31 perl Makefile.PL INSTALLDIRS=vendor || return 1
33 make install DESTDIR=${pkgdir} || return 1
35 # remove perllocal.pod and .packlist
36 find ${pkgdir} -name perllocal.pod -delete
37 find ${pkgdir} -name .packlist -delete