1 # Maintainer: Dariusz Dwornikowski <dariusz.dwornikowski@gmail.com>
6 pkgdesc='A Vim plugin that lets create better-looking statuslines'
8 url='http://www.vim.org/scripts/script.php?script_id=3881'
10 depends=('ruby' 'vim')
11 source=("Lokaltog-vim-powerline-b330fe6.tar.gz::http://www.vim.org/scripts/download_script.php?src_id=$_scriptid")
12 md5sums=('02ea54999b8c33de5a47deb46c867be2')
15 cd "$srcdir/Lokaltog-vim-powerline-b330fe6/"
16 local src="$srcdir/Lokaltog-vim-powerline-b330fe6"
17 local installpath="$pkgdir/usr/share/vim/vimfiles"
19 install -d ${installpath}/{doc,autoload,fontpatcher,plugin,powerline}
20 cp -dpr --no-preserve=ownership ${src}/doc $installpath
21 cp -dpr --no-preserve=ownership ${src}/autoload $installpath
22 cp -dpr --no-preserve=ownership ${src}/plugin $installpath
23 cp -dpr --no-preserve=ownership ${src}/powerline $installpath
24 cp -dpr --no-preserve=ownership ${src}/fontpatcher $installpath
25 chmod 644 -R ${installpath}/{doc,autoload,fontpatcher,plugin,powerline}