Commit 402ffdcb authored by Jakub Jirutka's avatar Jakub Jirutka

testing/neovim: modify build flags and pkgdesc, add subpackage -lang

parent a7c5be06
......@@ -3,15 +3,15 @@
pkgname=neovim
pkgver=0.1.6
pkgrel=0
pkgdesc="Vim-fork that aims to simplify maintainance and enhance user experience"
pkgdesc="Vim-fork focused on extensibility and agility"
url="https://neovim.io"
arch="all"
license="ASL-2.0 custom"
depends=""
makedepends="cmake gettext-dev gperf libtermkey-dev libuv-dev libvterm-dev
lua5.1-lpeg lua5.1-mpack luajit-dev msgpack-c-dev unibilium-dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/neovim/neovim/archive/v$pkgver.tar.gz"
subpackages="$pkgname-lang $pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/neovim/$pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
build() {
......@@ -19,16 +19,18 @@ build() {
cd "$builddir"/build
cmake .. \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_BUILD_TYPE=MinSizeRel \
-DCMAKE_INSTALL_PREFIX=/usr \
-DENABLE_JEMALLOC=OFF \
-DCMAKE_INSTALL_LIBDIR=lib \
-DENABLE_JEMALLOC=FALSE \
-DCMAKE_VERBOSE_MAKEFILE=TRUE \
|| return 1
make || return 1
}
package() {
cd "$builddir"/build
make DESTDIR="$pkgdir/" install || return 1
make DESTDIR="$pkgdir" install
}
md5sums="307978937c7fc2ebd796b345d99ed7cd neovim-0.1.6.tar.gz"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment