aboutsummaryrefslogtreecommitdiffstats
path: root/testing/neovim/APKBUILD
blob: 736942a3c2e657dfcd2bf3fda1fe4fee0c13a584 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Contributor: Daniel Sabogal <dsabogalcc@gmail.com>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=neovim
pkgver=0.1.5
pkgrel=0
pkgdesc="Vim-fork that aims to simplify maintainance and enhance user experience"
url="https://neovim.io"
arch="all"
license="ASL-2.0 custom"
depends=""
makedepends="cmake gettext-dev 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"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	mkdir -p "$builddir"/build
	cd "$builddir"/build

	cmake .. \
		-DCMAKE_BUILD_TYPE=RelWithDebInfo \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DENABLE_JEMALLOC=OFF \
		|| return 1
	make || return 1
}

package() {
	cd "$builddir"/build
	make DESTDIR="$pkgdir/" install || return 1
}

md5sums="27598e4ee52b6c02af2b5353fe99b6e4  neovim-0.1.5.tar.gz"
sha256sums="f286ff7994ef1835272285425d65804063f112c91925fee3ef8865282a6d2b7e  neovim-0.1.5.tar.gz"
sha512sums="3332b151d23b4f2b133b8f30f4af41686f7092cebbc7ab402b742be7b302bb6acbe9a01c2f475caad8d14a78dd3570109a5c447ab31f0b65ebf442631a31c6f9  neovim-0.1.5.tar.gz"