blob: bfb31a7bd8516c17dec6c11ca97245562b189c36 (
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
|
pkgname=neovim-vimtex-opt-git
_pkgname=vimtex
pkgver=3719.e5214dd3
pkgrel=1
pkgdesc='A modern (neo)vim plugin for editing LaTeX files.'
arch=('any')
url="https://github.com/lervag/${_pkgname}"
license=('MIT')
depends=('neovim')
makedepends=('git')
source=("git+${url}.git")
sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/${_pkgname}"
echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}
package() {
cd "${srcdir}/${_pkgname}"
local _installpath="usr/local/share/nvim/site/pack/${_pkgname}/opt/${_pkgname}/"
install -dvm755 "${pkgdir}/${_installpath}"
cp -rvt "${pkgdir}/${_installpath}" after autoload compiler doc ftdetect ftplugin indent syntax
install -Dm644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|