Compare commits
No commits in common. "af67d7557dcd49b422d26a5043b43ddea394ad41" and "e7dbb542ccf4ac187b37244a324f1ade332340cb" have entirely different histories.
af67d7557d
...
e7dbb542cc
36
.SRCINFO
36
.SRCINFO
@ -1,16 +1,12 @@
|
||||
generated-by = makedeb
|
||||
pkgname = neovim-bin
|
||||
postinst = neovim-bin.postinst
|
||||
prerm = neovim-bin.prerm
|
||||
generated-by = makedeb-makepkg
|
||||
|
||||
pkgbase = neovim-bin
|
||||
pkgdesc = Fork of Vim aiming to improve user experience, plugins, and GUIs
|
||||
pkgrel = 1
|
||||
pkgver = 0.8.3
|
||||
pkgver = 0.5.1
|
||||
pkgrel = 3
|
||||
url = https://neovim.io
|
||||
arch = amd64
|
||||
conflicts = neovim
|
||||
conflicts = neovim-git
|
||||
conflicts = neovim-runtime
|
||||
arch = x86_64
|
||||
license = custom:neovim
|
||||
depends = libluajit-5.1-2
|
||||
depends = libluajit-5.1-common
|
||||
depends = libmsgpackc2
|
||||
@ -18,22 +14,14 @@ depends = libtermkey1
|
||||
depends = libunibilium4
|
||||
depends = libvterm0
|
||||
depends = lua-luv
|
||||
license = custom:neovim
|
||||
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 = neovim
|
||||
provides = neovim-runtime
|
||||
source = nvim-linux64-0.8.3.tar.gz::https://github.com/neovim/neovim/releases/download/v0.8.3/nvim-linux64.tar.gz
|
||||
source = ex
|
||||
source = view
|
||||
source = vimdiff
|
||||
sha256sums = 58ac03b345e8675e13322f8c7135906ce26a1ca7a87d041344d64b207be7bedf
|
||||
sha256sums = 5d3178628afc39f0318638cad19e9ad06ada89926dfb263e93ab35cc8f60e911
|
||||
sha256sums = 3cb963a264b6cf45749627408b5a62c6945e5e426b595bb5e6a388194c2c1990
|
||||
sha256sums = 1d3123b9d97a4889696ab72db558041b5cca8e26ff51ae557f7842242a7d4ed1
|
||||
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)
|
||||
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
|
||||
|
4
.gitignore
vendored
4
.gitignore
vendored
@ -1,4 +0,0 @@
|
||||
pkg/
|
||||
src/
|
||||
*.deb
|
||||
*.tar.gz
|
53
PKGBUILD
53
PKGBUILD
@ -4,56 +4,41 @@
|
||||
# Contributor: Florian Hahn <flo@fhahn.com>
|
||||
|
||||
pkgname=neovim-bin
|
||||
pkgver=0.8.3
|
||||
pkgrel=1
|
||||
pkgver=0.5.1
|
||||
pkgrel=3
|
||||
pkgdesc='Fork of Vim aiming to improve user experience, plugins, and GUIs'
|
||||
arch=('amd64')
|
||||
arch=('x86_64')
|
||||
url='https://neovim.io'
|
||||
license=('custom:neovim')
|
||||
provides=('neovim' 'neovim-runtime')
|
||||
provides=('neovim')
|
||||
depends=('libluajit-5.1-2' 'libluajit-5.1-common' 'libmsgpackc2' 'libtermkey1' 'libunibilium4' 'libvterm0' 'lua-luv')
|
||||
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' 'neovim-runtime')
|
||||
source=(
|
||||
"nvim-linux64-${pkgver}.tar.gz::https://github.com/neovim/neovim/releases/download/v${pkgver}/nvim-linux64.tar.gz"
|
||||
"ex"
|
||||
"view"
|
||||
"vimdiff")
|
||||
postinst="${pkgname}.postinst"
|
||||
prerm="${pkgname}.prerm"
|
||||
sha256sums=('58ac03b345e8675e13322f8c7135906ce26a1ca7a87d041344d64b207be7bedf'
|
||||
'5d3178628afc39f0318638cad19e9ad06ada89926dfb263e93ab35cc8f60e911'
|
||||
'3cb963a264b6cf45749627408b5a62c6945e5e426b595bb5e6a388194c2c1990'
|
||||
'1d3123b9d97a4889696ab72db558041b5cca8e26ff51ae557f7842242a7d4ed1')
|
||||
conflicts=('neovim' 'neovim-git')
|
||||
source=("https://github.com/neovim/neovim/releases/download/v${pkgver}/nvim-linux64.tar.gz")
|
||||
sha512sums=('4b86c4f876629207a4ca8aff6853287cc7dc8a9133aa750b48bb9b7450cce357b97971eb85faf58eb0b9f3f20a927a5dcf5fd06e541ba7e882ccc4db33c12d6c')
|
||||
|
||||
prepare() {
|
||||
rm -rf nvim-linux64/
|
||||
tar -xf "nvim-linux64-${pkgver}.tar.gz"
|
||||
tar xvf nvim-linux64.tar.gz
|
||||
}
|
||||
|
||||
package() {
|
||||
echo "Copying application binary"
|
||||
install -Dm 755 nvim-linux64/bin/nvim -t "${pkgdir}/usr/bin/"
|
||||
cd "${srcdir}/nvim-linux64"
|
||||
echo "Coppying application binary"
|
||||
install -Dm 755 bin/nvim -t ${pkgdir}/usr/bin/
|
||||
|
||||
echo "Copying libraries"
|
||||
install -Dm 644 nvim-linux64/lib/nvim/parser/c.so -t "${pkgdir}/usr/lib/nvim/parser/"
|
||||
echo "Coppying libraries"
|
||||
install -Dm 644 lib/nvim/parser/c.so -t ${pkgdir}/usr/lib/nvim/parser/
|
||||
|
||||
echo "Copying application files"
|
||||
mkdir -p "${pkgdir}/usr/share/"
|
||||
cp -r nvim-linux64/share/applications "${pkgdir}/usr/share/applications"
|
||||
cp -r nvim-linux64/share/icons "${pkgdir}/usr/share/icons"
|
||||
cp -r nvim-linux64/share/locale "${pkgdir}/usr/share/locale"
|
||||
cp -r nvim-linux64/share/man "${pkgdir}/usr/share/man"
|
||||
cp -r nvim-linux64/share/nvim "${pkgdir}/usr/share/nvim"
|
||||
|
||||
echo "Copying scripts for update-alternatives symbolic links"
|
||||
mkdir -p "${pkgdir}/usr/libexec/neovim"
|
||||
install -Dm 755 ex "${pkgdir}/usr/libexec/neovim/"
|
||||
install -Dm 755 view "${pkgdir}/usr/libexec/neovim/"
|
||||
install -Dm 755 vimdiff "${pkgdir}/usr/libexec/neovim/"
|
||||
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:
|
||||
|
@ -1,14 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
update-alternatives --install /usr/bin/editor editor /usr/bin/nvim 30 \
|
||||
--slave /usr/share/man/man1/editor.1.gz editor.1.gz \
|
||||
/usr/share/man/man1/nvim.1.gz
|
||||
update-alternatives --install /usr/bin/ex ex /usr/libexec/neovim/ex 30
|
||||
update-alternatives --install /usr/bin/vi vi /usr/bin/nvim 30
|
||||
update-alternatives --install /usr/bin/vim vim /usr/bin/nvim 30
|
||||
update-alternatives --install /usr/bin/view view /usr/libexec/neovim/view 30
|
||||
update-alternatives --install /usr/bin/vimdiff vimdiff /usr/libexec/neovim/vimdiff 30
|
||||
|
||||
exit 0
|
@ -1,24 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
case "$1" in
|
||||
remove|deconfigure)
|
||||
update-alternatives --remove editor /usr/bin/nvim
|
||||
update-alternatives --remove ex /usr/libexec/neovim/ex
|
||||
update-alternatives --remove vi /usr/bin/nvim
|
||||
update-alternatives --remove vim /usr/bin/nvim
|
||||
update-alternatives --remove view /usr/libexec/neovim/view
|
||||
update-alternatives --remove vimdiff /usr/libexec/neovim/vimdiff
|
||||
;;
|
||||
|
||||
upgrade|failed-upgrade)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "prerm called with unknown argument '$1'" >&2
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
18
postinst
18
postinst
@ -1,18 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
update-alternatives --install /usr/bin/editor editor /usr/bin/nvim 30 \
|
||||
--slave /usr/share/man/man1/editor.1.gz editor.1.gz \
|
||||
/usr/share/man/man1/nvim.1.gz
|
||||
update-alternatives --install /usr/bin/ex ex /usr/libexec/neovim/ex 30
|
||||
update-alternatives --install /usr/bin/rvim rvim /usr/libexec/neovim/rvim 30
|
||||
update-alternatives --install /usr/bin/rview rview /usr/libexec/neovim/rview 30
|
||||
update-alternatives --install /usr/bin/vi vi /usr/bin/nvim 30
|
||||
update-alternatives --install /usr/bin/vim vim /usr/bin/nvim 30
|
||||
update-alternatives --install /usr/bin/view view /usr/libexec/neovim/view 30
|
||||
update-alternatives --install /usr/bin/vimdiff vimdiff /usr/libexec/neovim/vimdiff 30
|
||||
|
||||
|
||||
|
||||
exit 0
|
28
prerm
28
prerm
@ -1,28 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
case "$1" in
|
||||
remove|deconfigure)
|
||||
update-alternatives --remove editor /usr/bin/nvim
|
||||
update-alternatives --remove ex /usr/libexec/neovim/ex
|
||||
update-alternatives --remove rvim /usr/libexec/neovim/rvim
|
||||
update-alternatives --remove rview /usr/libexec/neovim/rview
|
||||
update-alternatives --remove vi /usr/bin/nvim
|
||||
update-alternatives --remove vim /usr/bin/nvim
|
||||
update-alternatives --remove view /usr/libexec/neovim/view
|
||||
update-alternatives --remove vimdiff /usr/libexec/neovim/vimdiff
|
||||
;;
|
||||
|
||||
upgrade|failed-upgrade)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "prerm called with unknown argument '$1'" >&2
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
|
||||
exit 0
|
Loading…
x
Reference in New Issue
Block a user