updated on Thu Jan 19 00:16:31 UTC 2012
[aur-mirror.git] / vim-vala / PKGBUILD
blob555401bf3392c506e1fba48910a78cc8220e6d2c
1 pkgname=vim-vala
2 pkgver=0.1
3 pkgrel=1
4 pkgdesc="Support for vala language"
5 arch=('i686' 'x86_64')
6 url="http://live.gnome.org/Vala/Vim"
7 license=('unknown')
8 depends=('vim')
9 groups=('vim-plugins')
10 source=(vala.vim::"http://live.gnome.org/Vala/Vim?action=AttachFile&do=get&target=vala.vim")
11 md5sums=('8f9c2f58b1fee568bd0e7b73993752e6')
13 build() {
14   cd ${srcdir}
16   install -d ${pkgdir}/usr/share/vim/{syntax,plugin}
18   install -m644 vala.vim ${pkgdir}/usr/share/vim/syntax/
20   { echo 'autocmd BufRead *.vala,*.vapi set efm=%f:%l.%c-%[%^:]%#:\ %t%[%^:]%#:\ %m'
21     echo 'au BufRead,BufNewFile *.vala,*.vapi setfiletype vala'
22   } > ${pkgdir}/usr/share/vim/plugin/vala.vim