[arch-commits] Commit in (5 files)

Alexander Rødseth arodseth at archlinux.org
Tue Nov 27 11:30:45 UTC 2018


    Date: Tuesday, November 27, 2018 @ 11:30:44
  Author: arodseth
Revision: 409921

Add neovim-qt from AUR (16 votes, 663 stars on github)

Added:
  neovim-qt/
  neovim-qt/repos/
  neovim-qt/repos/community-x86_64/
  neovim-qt/trunk/
  neovim-qt/trunk/PKGBUILD

----------+
 PKGBUILD |   45 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

Added: neovim-qt/trunk/PKGBUILD
===================================================================
--- neovim-qt/trunk/PKGBUILD	                        (rev 0)
+++ neovim-qt/trunk/PKGBUILD	2018-11-27 11:30:44 UTC (rev 409921)
@@ -0,0 +1,45 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Aleksandar Trifunović <akstrfn at gmail.com>
+# Contributor: Iván Ruvalcaba <mario.i.ruvalcaba at gmail.com>
+# Contributor: Ian Ker-Seymer <i.kerseymer at gmail.com>
+
+pkgname=neovim-qt
+pkgver=0.2.10
+pkgrel=1
+pkgdesc='Qt5 GUI for Neovim'
+arch=('x86_64')
+url='https://github.com/equalsraf/neovim-qt'
+license=('ISC')
+depends=('neovim' 'qt5-base')
+makedepends=('cmake' 'ninja')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha256sums=('42e3205f3fa9924e4970aed8ff28d17d9aefeb394bb40493d37f8a0afba40c34')
+
+build() {
+  mkdir -p build
+  cd build
+  cmake "$srcdir/$pkgname-$pkgver" \
+    -DCMAKE_C_FLAGS:string="$CFLAGS" \
+    -DCMAKE_CXX_FLAGS:string="$CXXFLAGS" \
+    -DCMAKE_EXE_LINKER_FLAGS:string="$LDFLAGS" \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=release \
+    -DUSE_SYSTEM_MSGPACK=on \
+    -GNinja
+  ninja
+}
+
+# works when not building in a chroot
+#check() {
+#  cd build
+#  ninja test
+#}
+
+package() {
+  DESTDIR="$pkgdir" ninja -C build install
+  install -Dm644 "$pkgname-$pkgver/LICENSE" \
+    "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim: sw=2 ts=2 et



More information about the arch-commits mailing list