From 3994a3bc5d3a4083645a8039f03e62ca00573655 Mon Sep 17 00:00:00 2001 From: Siraaj Khandkar Date: Sat, 24 Oct 2020 07:03:11 -0400 Subject: [PATCH] Add neovim dep recipe --- deps/neovim/Makefile | 23 +++++++++++++++++++++++ pkgs-ubuntu.list | 3 +++ 2 files changed, 26 insertions(+) create mode 100644 deps/neovim/Makefile diff --git a/deps/neovim/Makefile b/deps/neovim/Makefile new file mode 100644 index 0000000..696b1e4 --- /dev/null +++ b/deps/neovim/Makefile @@ -0,0 +1,23 @@ +.PHONY: all +all: deps + $(MAKE) clone + $(MAKE) build + +.PHONY: deps +deps: + sudo apt install \ + cmake \ + libtool-bin + +.PHONY: clone +clone: + mkdir -p data + cd data && git clone https://github.com/neovim/neovim.git + +.PHONY: build +build: + cd data/neovim && make CMAKE_BUILD_TYPE=RelWithDebInfo + +.PHONY: install +install: + cd data/neovim && make install diff --git a/pkgs-ubuntu.list b/pkgs-ubuntu.list index 87a9d6f..a1a2183 100644 --- a/pkgs-ubuntu.list +++ b/pkgs-ubuntu.list @@ -6,7 +6,10 @@ htop zsh zsh-syntax-highlighting tig +cmake # added to build neovim +cmake-doc make +libtool-bin # added to build neovim apt-file jq curl -- 2.20.1