1 # Maintainer: David Runge <dvzrv@archlinux.org>
7 pkgdesc="A vim plugin for syntax highlighting Ansible's common filetypes"
9 url="https://github.com/pearofducks/ansible-vim"
23 optdepends=('vim-ultisnips: for ansible snippets')
24 source=($url/archive/$pkgver/$_name-$pkgver.tar.gz)
25 sha512sums=('a75e8b149befb001fdb0012ea8219287a6b4c302e2ae2de456835c48e3a516bb99bfb91a21e2d60eff12b5a24d918510dd9302d93e0bf43cb42f025ea0504d1b')
26 b2sums=('e532b348216f3616060b9e09d177d601534c37eda1305512309954e0480e2827bd6f2d40564151104184a389c495b2442264f34d5b8031a1023ddd093cdd1be6')
30 # generating a reproducible UltiSnips snippet file:
31 # https://github.com/pearofducks/ansible-vim/pull/105
32 python UltiSnips/generate.py --style=dictionary
37 install -vDm 644 ftdetect/*.vim -t "$pkgdir/usr/share/vim/vimfiles/ftdetect/"
38 install -vDm 644 ftplugin/*.vim -t "$pkgdir/usr/share/vim/vimfiles/ftplugin/"
39 install -vDm 644 indent/*.vim -t "$pkgdir/usr/share/vim/vimfiles/indent/"
40 install -vDm 644 syntax/*.vim -t "$pkgdir/usr/share/vim/vimfiles/syntax/"
41 install -vDm 644 ansible.snippets -t "$pkgdir/usr/share/vim/vimfiles/UltiSnips/"
42 install -vDm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname/"
43 install -vDm 644 syntax/*.vim_LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
44 install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"