blob: 2d30edfb68190ce537b98bc7a9678f47b99d125a (
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
|
# Maintainer: Sainnhe Park <sainnhe@gmail.com>
_variant='neovim'
_extname=coc-vimtex
_packdir="usr/share/nvim/runtime/pack/coc/start/${_extname}"
url='https://github.com/neoclide/coc-vimtex'
pkgdesc='vimtex integration for coc.nvim'
pkgname="${_variant}-${_extname}-git"
provides=("${_variant}-${_extname}")
conflicts=("${_variant}-${_extname}")
arch=('any')
depends=("${_variant}-coc" "neovim-vimtex-opt-git")
makedepends=('git')
license=('MIT')
source=("${_extname}::git+${url}.git")
pkgver=1.0.4.r2.g993436f
pkgrel=1
sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/${_extname}"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
cd "${srcdir}/${_extname}"
find . -type f -exec \
install -Dm 644 '{}' "${pkgdir}/${_packdir}/{}" \;
chown -R root:root "${pkgdir}"
}
|