Date: Monday, November 2, 2015 @ 18:44:04 Author: svenstaro Revision: 145689
Move neovim from AUR Added: neovim/ neovim/repos/ neovim/trunk/ neovim/trunk/PKGBUILD neovim/trunk/neovim.install ----------------+ PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++ neovim.install | 10 ++++++++++ 2 files changed, 55 insertions(+) Added: neovim/trunk/PKGBUILD =================================================================== --- neovim/trunk/PKGBUILD (rev 0) +++ neovim/trunk/PKGBUILD 2015-11-02 17:44:04 UTC (rev 145689) @@ -0,0 +1,45 @@ +# Maintainer: Sven-Hendrik Haase <[email protected]> +# Contributor: Florian Walch <[email protected]> +# Contributor: Florian Hahn <[email protected]> + +pkgname=neovim +pkgver=0.1.0 +pkgrel=1 +pkgdesc='Fork of Vim aiming to improve user experience, plugins, and GUIs' +arch=('i686' 'x86_64') +url='https://neovim.io' +license=('custom:neovim') +depends=('jemalloc' 'libtermkey' 'libuv' 'msgpack-c' 'unibilium') +makedepends=('cmake' 'luajit' 'lua51-messagepack' 'lua51-lpeg') +optdepends=('python2-neovim: for Python 2 plugin support (see :help nvim-python)' + 'python-neovim: for Python 3 plugin support (see :help nvim-python)' + 'xclip: for clipboard support (or xsel) (see :help nvim-clipboard)' + 'xsel: for clipboard support (or xclip) (see :help nvim-clipboard)') +source=("https://github.com/neovim/neovim/archive/v${pkgver}.tar.gz") +sha256sums=('e8659558103b8f5a65aac84007a12e3581b32736321778028017fd07365cfff8') +install=neovim.install + +build() { + mkdir -p "${srcdir}/build" + cd "${srcdir}/build" + + cmake "../neovim-${pkgver}" \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DENABLE_JEMALLOC=ON + make +} + +check() { + cd "${srcdir}/build" + ./bin/nvim --version + ./bin/nvim --headless -u NONE -i NONE -c ':quit' +} + +package() { + cd "${srcdir}/build" + make DESTDIR="${pkgdir}" install + install -Dm644 "${srcdir}/neovim-${pkgver}"/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} + +# vim:set sw=2 sts=2 et: Added: neovim/trunk/neovim.install =================================================================== --- neovim/trunk/neovim.install (rev 0) +++ neovim/trunk/neovim.install 2015-11-02 17:44:04 UTC (rev 145689) @@ -0,0 +1,10 @@ +# $1: new package version +post_install() { + echo ":: The Neovim executable is called 'nvim'." + echo ":: If you are already familiar with Vim, see ':help nvim-from-vim'" + echo " to get started." + echo ":: If you have any questions, check the following page first:" + echo " https://github.com/neovim/neovim/wiki/FAQ" +} + +# vim:set sw=2 sts=2 et:
