From 118e1bf4ca164b5a351b830f7a627fb0a311a027 Mon Sep 17 00:00:00 2001 From: Linghao Zhang Date: Mon, 4 Oct 2021 15:04:01 +0200 Subject: [PATCH] Initial commit --- .SRCINFO | 22 ++++++++++++++++++++++ PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..8451b63 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,22 @@ +generated-by = makedeb-makepkg + +pkgbase = neovim-bin + pkgdesc = Fork of Vim aiming to improve user experience, plugins, and GUIs + pkgver = 0.5.1 + pkgrel = 1 + url = https://neovim.io + arch = x86_64 + license = custom:neovim + depends = libc6>=2.29 + depends = libluajit-5.1-2>=2.0.4+dfsg + optdepends = python-neovim: for Python 3 plugin support (see :help python) + optdepends = xclip: for clipboard support on X11 (or xsel) (see :help clipboard) + optdepends = xsel: for clipboard support on X11 (or xclip) (see :help clipboard) + optdepends = wl-clipboard: for clipboard support on wayland (see :help clipboard) + provides = vim-plugin-runtime + conflicts = neovim + conflicts = neovim-git + source = https://github.com/neovim/neovim/releases/download/v0.5.1/nvim-linux64.tar.gz + sha512sums = 4b86c4f876629207a4ca8aff6853287cc7dc8a9133aa750b48bb9b7450cce357b97971eb85faf58eb0b9f3f20a927a5dcf5fd06e541ba7e882ccc4db33c12d6c + +pkgname = neovim-bin diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..8b309b5 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,44 @@ +# Maintainer: canony +# Contributor: Sven-Hendrik Haase +# Contributor: Florian Walch +# Contributor: Florian Hahn + +pkgname=neovim-bin +pkgver=0.5.1 +pkgrel=1 +pkgdesc='Fork of Vim aiming to improve user experience, plugins, and GUIs' +arch=('x86_64') +url='https://neovim.io' +license=('custom:neovim') +provides=('vim-plugin-runtime') +depends=('libc6>=2.29' 'libluajit-5.1-2>=2.0.4+dfsg') +optdepends=('python-neovim: for Python 3 plugin support (see :help python)' + 'xclip: for clipboard support on X11 (or xsel) (see :help clipboard)' + 'xsel: for clipboard support on X11 (or xclip) (see :help clipboard)' + 'wl-clipboard: for clipboard support on wayland (see :help clipboard)') +conflicts=('neovim' 'neovim-git') +source=("https://github.com/neovim/neovim/releases/download/v${pkgver}/nvim-linux64.tar.gz") +sha512sums=('4b86c4f876629207a4ca8aff6853287cc7dc8a9133aa750b48bb9b7450cce357b97971eb85faf58eb0b9f3f20a927a5dcf5fd06e541ba7e882ccc4db33c12d6c') + +prepare() { + tar xvf nvim-linux64.tar.gz +} + +package() { + cd "${srcdir}/nvim-linux64" + msg2 "Coppying application binary" + install -Dm 755 bin/nvim -t ${pkgdir}/usr/bin/ + + msg2 "Coppying libraries" + install -Dm 644 lib/nvim/parser/c.so -t ${pkgdir}/usr/lib/nvim/parser/ + + msg2 "Copying application files" + mkdir -p ${pkgdir}/usr/share/ + cp -r share/applications ${pkgdir}/usr/share/applications + cp -r share/icons ${pkgdir}/usr/share/icons + cp -r share/locale ${pkgdir}/usr/share/locale + cp -r share/man ${pkgdir}/usr/share/man + cp -r share/nvim ${pkgdir}/usr/share/nvim +} + +# vim:set sw=2 sts=2 et: