updated on Mon Jan 16 20:00:43 UTC 2012
[aur-mirror.git] / vim-fuzzyfinder / PKGBUILD
blob6a907bcc49db3e45c63526868772e96714128382
1 # Maintainer: Mario MarĂ­n <mmfmarin at delete-ME-gmail dot com>
2 # Contributor: Laszlo Papp <djszapi @ gmail at com>
4 pkgname=vim-fuzzyfinder
5 pkgver=4.2.2
6 _scriptid=13961
7 pkgrel=2
8 pkgdesc="Fuzzy/Partial pattern explorer for buffer/file/MRU/command/bookmark/tag/etc"
9 arch=('any')
10 url="http://www.vim.org/scripts/script.php?script_id=1984"
11 license=('MIT')
12 depends=('vim' 'vim-l9')
13 groups=('vim-plugins')
14 install=vimdoc.install
15 source=(${pkgname}.zip::http://www.vim.org/scripts/download_script.php?src_id=${_scriptid}
16 license.txt)
17 md5sums=('a05cb14a5803fc83cb602d56b279fb0f'
18 '3e8d18cc2d9591aefb4bcf06fb112fe9')
20 build() {
21         install -d ${pkgdir}/usr/share/vim/vimfiles/{doc,plugin,autoload}\
22         ${pkgdir}/usr/share/vim/vimfiles/autoload/fuf
24         install -Dm755 ${srcdir}/doc/* \
25         ${pkgdir}/usr/share/vim/vimfiles/doc/ || return 1
27         install -Dm755 ${srcdir}/plugin/* \
28         ${pkgdir}/usr/share/vim/vimfiles/plugin/ || return 1
30         install -Dm755 ${srcdir}/autoload/fuf.vim \
31         ${pkgdir}/usr/share/vim/vimfiles/autoload/ || return 1
33         for x in autoload/fuf; do
34                 install -Dm775 ${srcdir}/$x/* \
35                 ${pkgdir}/usr/share/vim/vimfiles/$x/ || return 1;
36         done
38         install -Dm755 ${srcdir}/license.txt \
39         ${pkgdir}/usr/share/licenses/${pkgname}/licenses.txt
42 # vim: set noexpandtab tabstop=8 shiftwidth=8 textwidth=132 autoindent