summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 76c76e160828a1cdc21606eb1cc3b46ed1a5e613 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Maintainer: olantwin <olantwin at gmail dot com>
# Contributor: Thomas Haider <t.haider@deprecate.de>
# Contributor: Raymond Wagenmaker <raymondwagenmaker at gmail dot com>
pkgname=vim-latex-box-git
pkgver=339.617027b
pkgrel=2
pkgdesc="Lightweight Toolbox for LaTeX"
arch=('any')
url="https://github.com/LaTeX-Box-Team/LaTeX-Box"
license=('GPL3')
groups=('vim-plugins')
depends=('vim')
optdepends=('texlive-core: background compilation support using latexmk')
conflicts=("vim-latex-box" "vim-latexsuite")
provides=("vim-latex-box")
makedepends=('git')
source=("git+https://github.com/LaTeX-Box-Team/LaTeX-Box.git")
install=vimdoc.install
sha256sums=('SKIP')

pkgver() {
  cd "LaTeX-Box"
  echo $(git rev-list --count master).$(git rev-parse --short master)
}

package() {
  local installpath="${pkgdir}/usr/share/vim/vimfiles/"
  install -dm755 ${installpath}/{after,doc,ftplugin,indent,syntax,tools}
  cp -r LaTeX-Box/after ${installpath}
  cp -r LaTeX-Box/doc ${installpath}
  cp -r LaTeX-Box/ftplugin ${installpath}
  cp -r LaTeX-Box/indent ${installpath}
  cp -r LaTeX-Box/syntax ${installpath}
  cp -r LaTeX-Box/tools ${installpath}
}

# vim:set ts=2 sw=2 et: