mirror of
https://github.com/TrentSPalmer/aur-packages.git
synced 2024-11-16 09:11:31 -08:00
36 lines
928 B
Bash
36 lines
928 B
Bash
|
# Maintainer: Trent Palmer trenttdually at gmail
|
||
|
_name='nvim-yarp'
|
||
|
pkgname="${_name}-git"
|
||
|
pkgver=r29.b222af8
|
||
|
pkgrel=1
|
||
|
pkgdesc="(an) attempt (at) writing a remote plugin framework without :UpdateRemotePlugins."
|
||
|
arch=('any')
|
||
|
url="https://github.com/roxma/nvim-yarp"
|
||
|
license=('unknown')
|
||
|
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"
|
||
|
source=("${_name}::${url//https/git}")
|
||
|
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
|
||
|
}
|