makedeb
Vim-fork focused on extensibility and usability
Click here to go back to the commit logs for neovim-git.
Hash: 6aac97b69eaa4c6f795fdf71c1d44ab05e341ac4
Message: simplified the echo commands and creation of certain directories thus
diff --git a/.SRCINFO b/.SRCINFO
index 1a55471..04c03ae 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,7 +2,7 @@ generated-by = makedeb-makepkg
pkgbase = neovim-git
pkgdesc = Vim-fork focused on extensibility and usability
- pkgver = 19846nightly.5.ga5eadbaf32022.01.01
+ pkgver = 19877nightly.14.g207307d0f2022.01.03
pkgrel = 1
url = https://neovim.io/
arch = i686
@@ -48,6 +48,10 @@ pkgbase = neovim-git
conflicts = neovim
options = !strip
source = git://github.com/neovim/neovim.git
- sha256sums = SKIP
+ source = sysinit.vim
+ source = debian.vim
+ sha512sums = SKIP
+ sha512sums = 50cb5a922afc0efee7930c389e73fc3f2704a6deb57c8a11c21bcd32702bd8a22837ed4b7e5eb6c2a1489c2bd4261c57c38c065a5d39583b47f77b74f9490c2f
+ sha512sums = 4f137db93be2d14fb22e6a155335de91ac4627ac8999ebc833f646089670bcbeffc4b074f43f7536a935e2efa8e120fcb4dc571cb232f7ed68de07c2947f50db
pkgname = neovim-git
diff --git a/.gitignore b/.gitignore
index 5dfc70b..a96162c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,5 @@
!.SRCINFO
!*.install
!Makefile
+!sysinit.vim
+!debian.vim
diff --git a/PKGBUILD b/PKGBUILD
index da7c3af..d89510e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: alfador <contact@havi.dev>
pkgname=neovim-git
_pkgname=neovim
-pkgver=19846nightly.5.ga5eadbaf32022.01.01
+pkgver=19877nightly.14.g207307d0f2022.01.03
pkgrel=1
pkgdesc="Vim-fork focused on extensibility and usability"
arch=('i686' 'x86_64' 'armv7h' 'armv6h' 'aarch64')
@@ -15,8 +15,14 @@ optdepends=('python3-neovim: for python 3 plugin support see :help provider pyth
'wl-clipboard: for clipboard support on wayland (see :help clipboard)')
url="https://neovim.io/"
license=('custom:neovim')
-source=("git://github.com/neovim/neovim.git")
-sha256sums=("SKIP")
+source=("git://github.com/neovim/neovim.git"
+ "sysinit.vim"
+ "debian.vim"
+)
+sha512sums=("SKIP"
+ "50cb5a922afc0efee7930c389e73fc3f2704a6deb57c8a11c21bcd32702bd8a22837ed4b7e5eb6c2a1489c2bd4261c57c38c065a5d39583b47f77b74f9490c2f"
+ "4f137db93be2d14fb22e6a155335de91ac4627ac8999ebc833f646089670bcbeffc4b074f43f7536a935e2efa8e120fcb4dc571cb232f7ed68de07c2947f50db"
+)
provides=('neovim')
conflicts=('neovim')
# replaces=('neovim' 'vim')
@@ -54,9 +60,13 @@ package() {
install -Dm644 "${srcdir}/${_pkgname}/LICENSE" "${pkgdir}/usr/share/doc/${_pkgname}/copyright"
install -Dm644 "${srcdir}/${_pkgname}/runtime/nvim.desktop" "${pkgdir}/usr/share/applications/nvim.desktop"
install -Dm644 "${srcdir}/${_pkgname}/runtime/nvim.png" "${pkgdir}/usr/share/pixmaps/nvim.png"
- mkdir -p "${pkgdir}/etc/xdg/nvim"
- mkdir -p "${pkgdir}/usr/share/vim"
- echo '" This commented line makes apt-installed global vim packages work.' | tee "${pkgdir}/etc/xdg/nvim/sysinit.vim" >/dev/null
- echo "set runtimepath+=/usr/share/vim/vimfiles" | tee "${pkgdir}/usr/share/nvim/debian.vim" >/dev/null
- echo "source /usr/share/nvim/debian.vim" | tee -a "${pkgdir}/etc/xdg/nvim/sysinit.vim" >/dev/null
+ install -d "${pkgdir}/usr/share/vim"
+ install -Dm644 "sysinit.vim" "${pkgdir}/etc/xdg/nvim/sysinit.vim"
+ install -Dm644 "debian.vim" "${pkgdir}/usr/share/nvim/debian.vim"
+
+ #mkdir -p "${pkgdir}/etc/xdg/nvim"
+ #mkdir -p "${pkgdir}/usr/share/vim"
+ #echo '" This commented line makes apt-installed global vim packages work.' | tee "${pkgdir}/etc/xdg/nvim/sysinit.vim" >/dev/null
+ #echo "set runtimepath+=/usr/share/vim/vimfiles" | tee "${pkgdir}/usr/share/nvim/debian.vim" >/dev/null
+ #echo "source /usr/share/nvim/debian.vim" | tee -a "${pkgdir}/etc/xdg/nvim/sysinit.vim" >/dev/null
}
diff --git a/debian.vim b/debian.vim
new file mode 100644
index 0000000..5fd4ff3
--- /dev/null
+++ b/debian.vim
@@ -0,0 +1 @@
+set runtimepath+=/usr/share/vim/vimfiles
diff --git a/sysinit.vim b/sysinit.vim
new file mode 100644
index 0000000..620d11d
--- /dev/null
+++ b/sysinit.vim
@@ -0,0 +1,2 @@
+" This commented line makes apt-installed global vim packages work.
+source /usr/share/nvim/debian.vim