updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / vim-html5-git / PKGBUILD
blobaf7b4063dbd305d16d53af8b60e52f66a61ee07b
1 # Maintainer: lolilolicon <lolilolicon#gmail#com>
3 pkgname=vim-html5-git
4 pkgver=20110501
5 pkgrel=1
6 pkgdesc="HTML5 omnicomplete and syntax"
7 arch=(any)
8 url="https://github.com/othree/html5.vim"
9 license=('custom')
10 depends=(vim)
11 groups=('vim-plugins')
13 _gitroot=https://github.com/othree/html5.vim
14 _gitname=html5.vim
16 build() {
17   cd "$srcdir"
18   msg "Connecting to GIT server...."
20   if [ -d $_gitname ] ; then
21     cd $_gitname && git pull origin
22     msg "The local files are updated."
23   else
24     git clone $_gitroot $_gitname
25   fi
27   msg "GIT checkout done or server timeout"
28   msg "Starting make..."
31 package() {
32   cd "$srcdir/$_gitname"
34   local installpath=$pkgdir/usr/share/vim/vimfiles
35   mkdir -p "$installpath"
36   cp -r autoload/ indent/ syntax/ "$installpath/"