blob: cd60d9b2a757d7602b1b4ea056cbbbf6e43bb76c (
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
|
pkgname=neovim-neodev-opt-git
_pkgname=neodev
pkgver=692.a098813
pkgrel=1
pkgdesc='Full signature help, docs, and completion for the nvim lua API.'
arch=('any')
url="https://github.com/folke/${_pkgname}.nvim"
license=('Apache')
depends=('neovim')
makedepends=('git')
source=("${_pkgname}::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 -rt "${pkgdir}/${_installpath}" doc lua types
}
|