Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
45 lines (36 sloc) 980 Bytes
# Maintainer: Dave Reisner <d@falconindy.com>
pkgname=vim-pathogen-git
pkgver=20101027
pkgrel=1
pkgdesc="vim plugin: manage your runtimepath"
arch=('any')
url="http://github.com/tpope/vim-pathogen"
license=('GPL')
groups=('vim-plugins')
depends=('vim')
makedepends=('git')
provides=('vim-pathogen')
conflicts=('vim-pathogen')
install=vimdoc.install
_gitroot="git://github.com/tpope/vim-pathogen.git"
_gitname="vim-pathogen"
build() {
cd "$srcdir"
msg "Connecting to GIT server...."
if [ -d $_gitname ] ; then
cd $_gitname && git pull origin
msg "The local files are updated."
else
git clone $_gitroot $_gitname
fi
msg "GIT checkout done or server timeout"
msg "Starting make..."
rm -rf "$srcdir/$_gitname-build"
git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
cd "$srcdir/$_gitname-build"
}
package() {
cd "$srcdir/$_gitname"
install -dm755 "$pkgdir/usr/share/vim/vimfiles/"
cp -a autoload "$pkgdir/usr/share/vim/vimfiles/"
}
Something went wrong with that request. Please try again.