1 # Maintainer: Yann Kaiser <epsy nospace 46 at free dot fr>
2 # Contributor: Anton Golov <kdesevis at gmail dot com>
6 pkgdesc="Vim syntax files for CFDG design grammars."
8 url="http://www.florianbrucker.de/index.php?p=cfdgsyntaxfile"
11 depends=('cfdg' 'vim' 'imagemagick')
12 source=(http://www.florianbrucker.de/content/cfdgsyntaxfile/cfdg.vim http://epsy.net46.net/aur/cfdg-vim-$pkgver-$pkgrel.patch)
13 md5sums=('0aa34a7819c8f3b0cfd41be8ba2eb71e' 'a41f48b17c731e434f7c78ffbccda3a8')
18 patch cfdg.vim < cfdg-vim-$pkgver-$pkgrel.patch
20 mkdir -p $pkgdir/usr/share/vim/ftplugin/ $pkgdir/usr/share/vim/ftdetect/
21 cp -L cfdg.vim $pkgdir/usr/share/vim/ftplugin/cfdg.vim
22 echo >$pkgdir/usr/share/vim/ftdetect/cfdg.vim "au BufRead,BufNewFile *.cfdg set filetype=cfdg"