2021-01-01 21:22:50 +00:00
|
|
|
# Maintainer: Hexchain Tong <i at hexchain dot org>
|
|
|
|
pkgname=neovim-remote
|
2022-09-18 11:04:42 +00:00
|
|
|
pkgver=2.5.0
|
|
|
|
pkgrel=1
|
2021-01-01 21:22:50 +00:00
|
|
|
pkgdesc="Support --remote and friends for Neovim"
|
|
|
|
arch=(any)
|
|
|
|
url="https://github.com/mhinz/neovim-remote"
|
|
|
|
license=('MIT')
|
|
|
|
depends=('python-pynvim' 'python-psutil')
|
|
|
|
makedepends=('git' 'python-setuptools')
|
|
|
|
source=("$pkgname-$pkgver.tar.gz::https://github.com/mhinz/neovim-remote/archive/v$pkgver.tar.gz")
|
2022-09-18 11:04:42 +00:00
|
|
|
sha256sums=('3ad1c060688e102b2580d01c0360918113021788b0fcc3ac08bb7fc71b4f7658')
|
2021-01-01 21:22:50 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
|
|
python setup.py build
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
|
|
python setup.py install --optimize=1 --root="$pkgdir/" --prefix=/usr --skip-build
|
|
|
|
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
|
2022-09-18 11:04:42 +00:00
|
|
|
install -Dm644 contrib/completion.bash "$pkgdir/usr/share/bash-completion/completions/neovim-remote"
|
|
|
|
install -Dm644 README.md -t "$pkgdir/usr/share/doc/$pkgname/"
|
2021-01-01 21:22:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
# vim:set ts=2 sw=2 et:
|