Date: Tuesday, January 1, 2019 @ 19:31:04 Author: svenstaro Revision: 420221
archrelease: copy trunk to community-x86_64 Added: neovim/repos/community-x86_64/PKGBUILD (from rev 420220, neovim/trunk/PKGBUILD) neovim/repos/community-x86_64/neovim.install (from rev 420220, neovim/trunk/neovim.install) Deleted: neovim/repos/community-x86_64/PKGBUILD neovim/repos/community-x86_64/neovim.install ----------------+ PKGBUILD | 117 +++++++++++++++++++++++++------------------------------ neovim.install | 20 ++++----- 2 files changed, 64 insertions(+), 73 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-01-01 19:30:58 UTC (rev 420220) +++ PKGBUILD 2019-01-01 19:31:04 UTC (rev 420221) @@ -1,63 +0,0 @@ -# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> -# Contributor: Florian Walch <florian+...@fwalch.com> -# Contributor: Florian Hahn <f...@fhahn.com> - -pkgname=neovim -pkgver=0.3.1 -pkgrel=2 -pkgdesc='Fork of Vim aiming to improve user experience, plugins, and GUIs' -arch=('x86_64') -url='https://neovim.io' -license=('custom:neovim') -depends=('jemalloc' 'libtermkey' 'libuv' 'msgpack-c' 'unibilium' 'libvterm' 'luajit') -makedepends=('cmake' 'ninja' 'lua51-mpack' 'lua51-lpeg' 'gperf') -optdepends=('python2-neovim: for Python 2 plugin support (see :help python)' - 'python-neovim: for Python 3 plugin support (see :help python)' - 'xclip: for clipboard support (or xsel) (see :help clipboard)' - 'xsel: for clipboard support (or xclip) (see :help clipboard)') -source=(https://github.com/neovim/neovim/archive/v${pkgver}.tar.gz - https://github.com/neovim/neovim/pull/8859/commits/4a46ab8de9a9a9aee36546740c45b9e65a9e7dc9.patch) -sha512sums=('42c541608509dc0335203ee1c008045f0eaeebce8e18dffc554ab22a029da700bba9b8c721bd9d68337ddb4a56f8cf034fad2a3eb88d36baf8295e6648fce506' - '2b6bec34006995ed4b682b3fdef260935a6cc0857b41304571adb36d911f2597624c298d4375aa9ac9115733918f61d51c1cbd0de5799680ffff36b0d6219ded') -install=neovim.install - -prepare() { - cd "${srcdir}/neovim-${pkgver}" - - # https://github.com/neovim/neovim/issues/6023 - patch -Np1 -i ../4a46ab8de9a9a9aee36546740c45b9e65a9e7dc9.patch -} - -build() { - mkdir -p "${srcdir}/build" - cd "${srcdir}/build" - - cmake "../neovim-${pkgver}" \ - -G Ninja \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DENABLE_JEMALLOC=ON - cmake --build . -} - -check() { - cd "${srcdir}/build" - ./bin/nvim --version - ./bin/nvim --headless -u NONE -i NONE -c ':quit' -} - -package() { - cd "${srcdir}/build" - DESTDIR="${pkgdir}" cmake --build . --target install - - cd "${srcdir}/neovim-${pkgver}" - install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - install -Dm644 runtime/nvim.desktop "${pkgdir}/usr/share/applications/nvim.desktop" - install -Dm644 runtime/nvim.png "${pkgdir}/usr/share/pixmaps/nvim.png" - - # Make Arch vim packages work - mkdir -p "${pkgdir}"/usr/share/vim - echo "set runtimepath+=/usr/share/vim/vimfiles" > "${pkgdir}"/usr/share/nvim/sysinit.vim -} - -# vim:set sw=2 sts=2 et: Copied: neovim/repos/community-x86_64/PKGBUILD (from rev 420220, neovim/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-01-01 19:31:04 UTC (rev 420221) @@ -0,0 +1,54 @@ +# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> +# Contributor: Florian Walch <florian+...@fwalch.com> +# Contributor: Florian Hahn <f...@fhahn.com> + +pkgname=neovim +pkgver=0.3.2 +pkgrel=1 +pkgdesc='Fork of Vim aiming to improve user experience, plugins, and GUIs' +arch=('x86_64') +url='https://neovim.io' +license=('custom:neovim') +depends=('jemalloc' 'libtermkey' 'libuv' 'msgpack-c' 'unibilium' 'libvterm' 'luajit') +makedepends=('cmake' 'ninja' 'lua51-mpack' 'lua51-lpeg' 'gperf') +optdepends=('python2-neovim: for Python 2 plugin support (see :help python)' + 'python-neovim: for Python 3 plugin support (see :help python)' + 'xclip: for clipboard support (or xsel) (see :help clipboard)' + 'xsel: for clipboard support (or xclip) (see :help clipboard)') +source=(https://github.com/neovim/neovim/archive/v${pkgver}.tar.gz) +sha512sums=('1192d9330da3ab543dcb39bdff517637c7a52be558ad07a60de27bbf051432064edc230b46ddd9cdcae006ba1340550128e4d4ced7105f1aab57b13c2c4479ae') +install=neovim.install + +build() { + mkdir -p "${srcdir}/build" + cd "${srcdir}/build" + + cmake "../neovim-${pkgver}" \ + -G Ninja \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DENABLE_JEMALLOC=ON + cmake --build . +} + +check() { + cd "${srcdir}/build" + ./bin/nvim --version + ./bin/nvim --headless -u NONE -i NONE -c ':quit' +} + +package() { + cd "${srcdir}/build" + DESTDIR="${pkgdir}" cmake --build . --target install + + cd "${srcdir}/neovim-${pkgver}" + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -Dm644 runtime/nvim.desktop "${pkgdir}/usr/share/applications/nvim.desktop" + install -Dm644 runtime/nvim.png "${pkgdir}/usr/share/pixmaps/nvim.png" + + # Make Arch vim packages work + mkdir -p "${pkgdir}"/usr/share/vim + echo "set runtimepath+=/usr/share/vim/vimfiles" > "${pkgdir}"/usr/share/nvim/sysinit.vim +} + +# vim:set sw=2 sts=2 et: Deleted: neovim.install =================================================================== --- neovim.install 2019-01-01 19:30:58 UTC (rev 420220) +++ neovim.install 2019-01-01 19:31:04 UTC (rev 420221) @@ -1,10 +0,0 @@ -# $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: Copied: neovim/repos/community-x86_64/neovim.install (from rev 420220, neovim/trunk/neovim.install) =================================================================== --- neovim.install (rev 0) +++ neovim.install 2019-01-01 19:31:04 UTC (rev 420221) @@ -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: