archrelease: copy trunk to community-any
[ArchLinux/community.git] / vim-grammalecte / trunk / PKGBUILD
blob026db2f058e9c55c673a2a3749df44b9ded1f280
1 # Maintainer: Bruno Pagani <archange@archlinux.org>
3 pkgname=vim-grammalecte
4 pkgver=r31.09d4b24
5 pkgrel=1
6 pkgdesc="Integrates Grammalecte into Vim"
7 arch=(any)
8 url="https://github.com/dpelle/vim-Grammalecte"
9 license=(custom:VIM)
10 depends=(vim grammalecte)
11 groups=(vim-plugins)
12 _commit=09d4b246285cbfafa1f06248c12a229f8160360d
13 source=("${url}/archive/${_commit}/${pkgname}-${pkgver}.zip")
14 sha256sums=('493fb20bff4291a790bf1bf3c7d76eb8b8889e2801594cc122f2031afdff96d8')
16 package() {
17     cd ${pkgname/-g/-G}-${_commit}
18     install -d "${pkgdir}"/usr/share/vim/vimfiles
19     cp -r doc plugin "${pkgdir}"/usr/share/vim/vimfiles/
20     # Fix default path to the cli tool
21     sed -i "s:\$HOME . '/grammalecte/pythonpath/cli.py':'/usr/bin/grammalecte-cli':" "${pkgdir}"/usr/share/vim/vimfiles/plugin/Grammalecte.vim