updated on Fri Jan 20 12:03:34 UTC 2012
[aur-mirror.git] / vim-pyflakes / PKGBUILD
blob49841f7befac6a50431ef3c566d2d328a9258a28
1 # Maintainer: nofrak <nofrak@polattack.com>
3 pkgname=vim-pyflakes
4 pkgver=3.01
5 _scriptid=14288
6 pkgrel=2
7 pkgdesc='Vim plugin which highlights common Python errors like misspelling a variable name on the fly.'
8 arch=('any')
9 url='http://www.vim.org/scripts/script.php?script_id=2441'
10 depends=('vim' 'python2>=2.5')
11 source=("http://www.vim.org/scripts/download_script.php?src_id=$_scriptid")
12 license=('custom')
13 md5sums=('16711b5c62afd23939dbe34465d046c5')
14 build() {
15   cd $srcdir
17   install -D -m644 $srcdir/pyflakes.vim $pkgdir/usr/share/vim/vimfiles/after/ftplugin/python/pyflakes.vim
18   cp -r pyflakes $pkgdir/usr/share/vim/vimfiles/after/ftplugin/python/pyflakes
20   # license
21   mkdir -p $pkgdir/usr/share/licenses/vim-pyflakes/
22   mv $pkgdir/usr/share/vim/vimfiles/after/ftplugin/python/pyflakes/LICENSE $pkgdir/usr/share/licenses/vim-pyflakes/LICENSE
24 # vim:syntax=sh