updated on Tue Jan 17 20:03:13 UTC 2012
[aur-mirror.git] / vim-powerline / PKGBUILD
blob847a029ebeae3c0a86519d431cb0199ff54ff7e7
1 # Maintainer: Dariusz Dwornikowski <dariusz.dwornikowski@gmail.com>
2 pkgname=vim-powerline
3 pkgver=beta
4 _scriptid=17204
5 pkgrel=2
6 pkgdesc='A Vim plugin that lets create better-looking statuslines'
7 arch=('any')
8 url='http://www.vim.org/scripts/script.php?script_id=3881'
9 license=('custom:vim')
10 depends=('vim')
11 source=("Lokaltog-vim-powerline-b330fe6.tar.gz::http://www.vim.org/scripts/download_script.php?src_id=$_scriptid")
12 md5sums=('02ea54999b8c33de5a47deb46c867be2')
14 build() {
15         cd "$srcdir/Lokaltog-vim-powerline-b330fe6/"
16         local src="$srcdir/Lokaltog-vim-powerline-b330fe6"
17         local installpath="$pkgdir/usr/share/vim/vimfiles"
18        
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}
26         }