Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: neovim-git
@ 2021-03-09  9:16 LoricAndre
  2021-03-09  9:20 ` LoricAndre
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: LoricAndre @ 2021-03-09  9:16 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1591 bytes --]

There is a new pull request by LoricAndre against master on the void-packages repository

https://github.com/LoricAndre/void-packages master
https://github.com/void-linux/void-packages/pull/29345

New package: neovim-git
<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [x ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/29345.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-29345.patch --]
[-- Type: text/x-diff, Size: 3387 bytes --]

From a369afda540d7f2d4997d4b44756ed67b8213734 Mon Sep 17 00:00:00 2001
From: Loric <>
Date: Tue, 9 Mar 2021 00:43:37 +0100
Subject: [PATCH 1/2] Nvim git

---
 srcpkgs/neovim-git/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100755 srcpkgs/neovim-git/template

diff --git a/srcpkgs/neovim-git/template b/srcpkgs/neovim-git/template
new file mode 100755
index 00000000000..99cf790a568
--- /dev/null
+++ b/srcpkgs/neovim-git/template
@@ -0,0 +1,18 @@
+# Template file for 'neovim-git'
+pkgname=neovim-git
+version=0.5
+short_desc="Neovim nightly"
+revision=1
+homepage="neovim.org"
+license="Apache2.0"
+distfiles="https://github.com/neovim/neovim/releases/download/nightly/nvim-linux64.tar.gz"
+checksum="11cd15422516d7ce895aae84a6b23215a5d98c55d8a9e6c08e7933ca7fa88466"
+create_wrksrc=1
+nostrip=1
+
+
+do_install() {
+	vbin ${wrksrc}/nvim-linux64/bin/nvim
+	vman ${wrksrc}/nvim-linux64/share/man/man1/nvim.1
+	vcopy ${wrksrc}/nvim-linux64/share/applications/nvim.desktop /usr/share/applications
+}

From f2d22a99b467d919bae0139e82510b84d93d78c5 Mon Sep 17 00:00:00 2001
From: Loric Andre <gwynaark@gmail.com>
Date: Tue, 9 Mar 2021 10:09:58 +0100
Subject: [PATCH 2/2] neovim-git: update to 0.5.

New package: neovim-git-0.5
---
 srcpkgs/neovim-git/template | 39 +++++++++++++++++++++++++++----------
 srcpkgs/neovim-git/update   |  1 +
 2 files changed, 30 insertions(+), 10 deletions(-)
 create mode 100644 srcpkgs/neovim-git/update

diff --git a/srcpkgs/neovim-git/template b/srcpkgs/neovim-git/template
index 99cf790a568..4a482f8e7c0 100755
--- a/srcpkgs/neovim-git/template
+++ b/srcpkgs/neovim-git/template
@@ -1,18 +1,37 @@
 # Template file for 'neovim-git'
 pkgname=neovim-git
 version=0.5
-short_desc="Neovim nightly"
 revision=1
-homepage="neovim.org"
-license="Apache2.0"
-distfiles="https://github.com/neovim/neovim/releases/download/nightly/nvim-linux64.tar.gz"
-checksum="11cd15422516d7ce895aae84a6b23215a5d98c55d8a9e6c08e7933ca7fa88466"
-create_wrksrc=1
-nostrip=1
+makedepends="git make cmake pkg-config automake unzip autoconf ninja \
+	libtool libuv libuv-devel libluv libluv-devel \
+	msgpack msgpack-devel unibilium unibilium-devel \
+	gettext gettext-devel \
+	libtermkey libtermkey-devel libvterm libvterm-devel \
+	tree-sitter tree-sitter-devel gperf \
+	lua51-mpack lua51-lpeg"
+short_desc="Fork of Vim aiming to improve user experience, nightly version"
+maintainer="Loric Andre <gwynaark@gmail.com>"
+license="Apache-2.0"
+homepage="https://neovim.io"
+conflicts=nvim
 
+alternatives="
+ vi:vi:/usr/bin/nvim
+ vi:vi.1:/usr/share/man/man1/nvim.1
+ vi:view:/usr/bin/nvim
+ vi:view.1:/usr/share/man/man1/nvim.1
+ vim:vim:/usr/bin/nvim
+ vim:vim.1:/usr/share/man/man1/nvim.1"
+
+do_fetch() {
+	git clone https://github.com/neovim/neovim.git ${wrksrc}
+}
+
+do_build() {
+	cd ${wrksrc}
+	make CMAKE_BUILD_TYPE=RelWithDebInfo USE_BUNDLED=OFF
+}
 
 do_install() {
-	vbin ${wrksrc}/nvim-linux64/bin/nvim
-	vman ${wrksrc}/nvim-linux64/share/man/man1/nvim.1
-	vcopy ${wrksrc}/nvim-linux64/share/applications/nvim.desktop /usr/share/applications
+	vinstall ${wrksrc}/build/bin/nvim 777 /usr/bin/
 }
diff --git a/srcpkgs/neovim-git/update b/srcpkgs/neovim-git/update
new file mode 100644
index 00000000000..775b010c33a
--- /dev/null
+++ b/srcpkgs/neovim-git/update
@@ -0,0 +1 @@
+site="https://github.com/neovim/neovim/releases/tag/nightly"

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-03-09  9:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-09  9:16 [PR PATCH] New package: neovim-git LoricAndre
2021-03-09  9:20 ` LoricAndre
2021-03-09  9:25 ` FollieHiyuki
2021-03-09  9:47 ` the-maldridge
2021-03-09  9:47 ` [PR PATCH] [Closed]: " the-maldridge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).