aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-11-05 00:30:31 +0100
committerJakub Jirutka <jakub@jirutka.cz>2016-11-05 01:50:35 +0100
commit402ffdcb7c66a3aca41f321da8f9c8d9e73b50d0 (patch)
tree6112002affdfbbf686468c53471652354adb7dfc
parenta7c5be060b3ea786cd78b5a398fa63ee03362f75 (diff)
downloadaports-402ffdcb7c66a3aca41f321da8f9c8d9e73b50d0.tar.bz2
aports-402ffdcb7c66a3aca41f321da8f9c8d9e73b50d0.tar.xz
testing/neovim: modify build flags and pkgdesc, add subpackage -lang
-rw-r--r--testing/neovim/APKBUILD14
1 files changed, 8 insertions, 6 deletions
diff --git a/testing/neovim/APKBUILD b/testing/neovim/APKBUILD
index b31f0bebc..7ec08f4c0 100644
--- a/testing/neovim/APKBUILD
+++ b/testing/neovim/APKBUILD
@@ -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"