pkgname: neovim pkgver: '0.12.6' pkgrel: '2' pkgdesc: 'Futuristic Vim-based text editor (Neovim)' url: 'https://neovim.io/' arch: x86_64 license: - 'Apache-2.0' # Neovim domyślnie buduje i statycznie linkuje własne zależności (libuv, # LuaJIT, msgpack, tree-sitter, unibilium, libvterm, utf8proc). Część z nich # nie ma osobnych receptur w repo, więc korzystamy z bundlowania (USE_BUNDLED). depends: - libnsl makedepends: - cmake - ninja - gettext - pkgconf - gperf - git - curl - unzip - patch source: - 'https://github.com/neovim/neovim/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz' sha256sums: - 8629fdc5eb951daf89a76f68cad12f2f1e03fab0d539150ba3fe6d177d254b7f build: | cd ${pkgname}-${pkgver} # Release + instalacja do /usr. CMake sam pobierze i zbuduje bundlowane # zależności (USE_BUNDLED jest domyślnie włączone). make CMAKE_BUILD_TYPE=Release CMAKE_INSTALL_PREFIX=/usr make DESTDIR=${PKGDIR} install install -Dm644 LICENSE.txt ${PKGDIR}/usr/share/licenses/${pkgname}/LICENSE.txt package: | true