[arch-commits] Commit in neovim/repos (3 files)
Christian Hesse
eworm at archlinux.org
Mon Feb 19 21:14:11 UTC 2018
Date: Monday, February 19, 2018 @ 21:14:09
Author: eworm
Revision: 296429
archrelease: copy trunk to community-staging-x86_64
Added:
neovim/repos/community-staging-x86_64/
neovim/repos/community-staging-x86_64/PKGBUILD
(from rev 296428, neovim/trunk/PKGBUILD)
neovim/repos/community-staging-x86_64/neovim.install
(from rev 296428, neovim/trunk/neovim.install)
----------------+
PKGBUILD | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
neovim.install | 10 ++++++++++
2 files changed, 58 insertions(+)
Copied: neovim/repos/community-staging-x86_64/PKGBUILD (from rev 296428, neovim/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2018-02-19 21:14:09 UTC (rev 296429)
@@ -0,0 +1,48 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Florian Walch <florian+aur at fwalch.com>
+# Contributor: Florian Hahn <flo at fhahn.com>
+
+pkgname=neovim
+pkgver=0.2.2
+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' '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=('5609defe86ac98356f1b9ae9adc6049bb4df920a9a2ae3104f761d52d4dd54cbc84d2596231595dd9b0aa97201fef2121e6c5c86a19267ab6b871dbf4b568209')
+install=neovim.install
+
+build() {
+ mkdir -p "${srcdir}/build"
+ cd "${srcdir}/build"
+
+ cmake "../neovim-${pkgver}" \
+ -DCMAKE_BUILD_TYPE=Release \
+ -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
+ 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"
+}
+
+# vim:set sw=2 sts=2 et:
Copied: neovim/repos/community-staging-x86_64/neovim.install (from rev 296428, neovim/trunk/neovim.install)
===================================================================
--- community-staging-x86_64/neovim.install (rev 0)
+++ community-staging-x86_64/neovim.install 2018-02-19 21:14:09 UTC (rev 296429)
@@ -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:
More information about the arch-commits
mailing list