2018-02-25 18:12:08 -08:00
|
|
|
# Maintainer: Trent Palmer trenttdually at gmail
|
|
|
|
_name='nvim-yarp'
|
|
|
|
pkgname="${_name}-git"
|
2020-04-12 06:03:26 -07:00
|
|
|
pkgver=r51.b710bf4
|
2022-03-19 18:57:03 -07:00
|
|
|
pkgrel=2
|
2018-02-25 18:12:08 -08:00
|
|
|
pkgdesc="(an) attempt (at) writing a remote plugin framework without :UpdateRemotePlugins."
|
|
|
|
arch=('any')
|
|
|
|
url="https://github.com/roxma/nvim-yarp"
|
2018-08-08 08:32:19 -07:00
|
|
|
license=('MIT')
|
2018-02-25 18:12:08 -08:00
|
|
|
groups=()
|
|
|
|
depends=('vim' 'python-neovim')
|
|
|
|
makedepends=('git')
|
|
|
|
provides=('nvim-yarp')
|
|
|
|
conflicts=()
|
|
|
|
replaces=('')
|
|
|
|
backup=()
|
|
|
|
options=()
|
|
|
|
# maybe at some point there will be helptags to update
|
|
|
|
install="${_name}.install"
|
2022-03-19 18:57:03 -07:00
|
|
|
source=("${_name}::git+${url}")
|
2018-02-25 18:12:08 -08:00
|
|
|
noextract=()
|
|
|
|
md5sums=('SKIP')
|
|
|
|
|
|
|
|
pkgver() {
|
|
|
|
cd "${srcdir}/${_name}"
|
|
|
|
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
mkdir -p "$pkgdir/usr/share/vim/vimfiles"
|
|
|
|
cp -r "${srcdir}/${_name}/"{autoload,pythonx} \
|
|
|
|
"$pkgdir/usr/share/vim/vimfiles"
|
|
|
|
|
|
|
|
install -D -m644 "${srcdir}/${_name}/README.md" $pkgdir/usr/share/doc/$pkgname/README.md
|
|
|
|
}
|