aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Dywan <christian@twotoasts.de>2018-01-29 23:02:15 +0100
committerJustin M. Keyes <justinkz@gmail.com>2018-01-29 23:02:15 +0100
commitca31f81a315117d5a1819fe849cce0aaeac36e2b (patch)
tree58ec9faf691ce36d811cc1fddcd96a273b7fe8e9
parentb55f831678bccc9ca7a2fb9d8123d20985ba3719 (diff)
downloadrneovim-ca31f81a315117d5a1819fe849cce0aaeac36e2b.tar.gz
rneovim-ca31f81a315117d5a1819fe849cce0aaeac36e2b.tar.bz2
rneovim-ca31f81a315117d5a1819fe849cce0aaeac36e2b.zip
dist: snap packaging #7918
-rw-r--r--snap/snapcraft.yaml41
1 files changed, 41 insertions, 0 deletions
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
new file mode 100644
index 0000000000..81ffb9adf3
--- /dev/null
+++ b/snap/snapcraft.yaml
@@ -0,0 +1,41 @@
+name: neovim
+version: git
+summary: Vim-fork focused on extensibility and agility.
+description: |
+ Neovim is a project that seeks to aggressively refactor Vim in order to:
+
+ Simplify maintenance and encourage contributions
+ Split the work between multiple developers
+ Enable the implementation of new/modern user interfaces without any modifications to the core source
+ Improve extensibility with a new plugin architecture
+ For lots more details, see the wiki!
+confinement: classic
+
+apps:
+ neovim:
+ command: usr/local/bin/nvim
+ plugs: [network, network-bind, x11]
+ environment:
+ HOME: /home/$USER
+ VIM: $SNAP/usr/local/share/nvim/runtime
+
+parts:
+ neovim:
+ source: .
+ plugin: make
+ make-parameters:
+ - CMAKE_BUILD_TYPE=Release
+ build-packages:
+ - ninja-build
+ - libtool
+ - libtool-bin
+ - autoconf
+ - automake
+ - cmake
+ - g++
+ - pkg-config
+ - unzip
+ snap:
+ - usr/local/bin
+ - usr/local/share/nvim
+ - -usr/local/share/man