archpkgs/neovim-remote/PKGBUILD
Gabriel Ebner 49c4b00234 git subrepo pull neovim-remote
subrepo:
  subdir:   "neovim-remote"
  merged:   "e0eb03b"
upstream:
  origin:   "https://aur.archlinux.org/neovim-remote"
  branch:   "master"
  commit:   "e0eb03b"
git-subrepo:
  version:  "0.4.3"
  origin:   "???"
  commit:   "???"
2022-09-18 13:04:42 +02:00

28 lines
937 B
Bash

# Maintainer: Hexchain Tong <i at hexchain dot org>
pkgname=neovim-remote
pkgver=2.5.0
pkgrel=1
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")
sha256sums=('3ad1c060688e102b2580d01c0360918113021788b0fcc3ac08bb7fc71b4f7658')
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"
install -Dm644 contrib/completion.bash "$pkgdir/usr/share/bash-completion/completions/neovim-remote"
install -Dm644 README.md -t "$pkgdir/usr/share/doc/$pkgname/"
}
# vim:set ts=2 sw=2 et: