updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / vim-syslog / PKGBUILD
blobc686a3972a4f3477c5f1eef4bc131815f07b817d
1 # Contributor: Piotr Rogoża <rogoza dot piotr at gmail dot com>
2 # Created: 18/04/2011
3 # vim:set ts=2 sw=2 et ft=sh tw=100:
4 pkgname=vim-syslog
5 pkgver=1.1
6 pkgrel=2
7 _scriptid=1215
8 pkgdesc='Adds syntax color to log files created by sysklogd'
9 arch=('any')
10 url='http://www.vim.org/scripts/script.php?script_id=419'
11 license=('custom:vim')
12 depends=('vim-runtime')
13 groups=('vim-syntax')
14 install=
15 noextract=()
16 source=("${pkgname}.vim::http://www.vim.org/scripts/download_script.php?src_id=$_scriptid"
17   ftdetect.vim)
19 build(){
20   cd "$srcdir"
22         _vim_dir="usr/share/vim/vimfiles"
23   install -Dm644 ${pkgname}.vim ${pkgdir}/${_vim_dir}/syntax/syslog.vim || return 1
24   install -Dm644 ftdetect.vim ${pkgdir}/${_vim_dir}/ftdetect/syslog.vim || return 1
27 md5sums=('660833d71e7fb34555b2c71ea8bca25e'
28          'e116363b944f08333cec2b04475f2766')