# Maintainer: Aurélien DESBRIÈRES # Contributor: Levente Polyak # Contributor: Fat Cat pkgname=vundle-git pkgver=0.10.2.594.5f70ae6 pkgrel=1 pkgdesc="Plug-in manager for Vim" url="https://github.com/gmarik/Vundle.vim" arch=('any') license=('MIT') depends=('vim>=7.0') makedepends=('git') provides=('vundle') conflicts=('vundle') install=vundle.install source=(${pkgname}::git+https://github.com/gmarik/Vundle.vim vundle.vimrc) pkgver() { cd ${pkgname} printf "%s.%s.%s" "$(git describe --tags --abbrev=0|sed 's/^v//')" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } package() { cd ${pkgname} vimpath="${pkgdir}/usr/share/vim/vimfiles" mkdir -p ${vimpath}/doc cp -R doc ${vimpath} mkdir -p ${vimpath}/autoload cp -R autoload ${vimpath} install -Dm 644 "${srcdir}"/vundle.vimrc "${pkgdir}/usr/share/vundle/vimrc.sample" install -Dm 644 LICENSE-MIT.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" install -Dm 644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README" } # vim: ts=2 sw=2 et: