4 pkgdesc="Easy searching,installing and downloading vim script."
6 url="https://github.com/c9s/Vimana"
8 depends=('perl' 'perl-module-install')
11 options=('!emptydirs')
13 _gitroot=git://github.com/c9s/Vimana.git
19 msg "Connecting to github.com GIT server...."
21 if [ -d $startdir/src/$_gitname ] ; then
22 cd $_gitname && git-pull origin
23 msg "The local files are updated."
28 msg "GIT checkout done or server timeout"
30 cd "$srcdir/$_gitname"
31 PERL_MM_USE_DEFAULT=1 perl Makefile.PL
32 INSTALLDIRS=vendor || return 1
34 make DESTDIR="$pkgdir" install || return 1
35 find "$pkgdir" \( -name '.packlist' -o -name 'perllocal.pod' \) -delete