aboutsummaryrefslogtreecommitdiff
path: root/snap/snapcraft.yaml
blob: 81ffb9adf3b22a1cabf5da170f7365e6f227e4f6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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