Add vim 9.1.0707 package with syntax runtime and xxd

This commit is contained in:
2026-10-04 13:20:33 +02:00
parent f7579871e4
commit f1751afff6
3 changed files with 44 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
#!/bin/bash
# Receptura pakietu vim dla wpkg
pkgname=vim
pkgver=9.1.0707
pkgrel=1
pkgdesc="Zaawansowany i konfigurowalny edytor tekstu (Vim 9.1 z syntax i xxd)"
arch=x86_64
url="https://www.vim.org"
depends=()
source="https://github.com/vim/vim/archive/refs/tags/v${pkgver}.tar.gz"
sha256sum="SKIP"
build() {
cd "${pkgname}-${pkgver}"
./configure \
--prefix=/usr \
--with-features=huge \
--enable-multibyte \
--disable-gui \
--without-x \
--disable-nls \
--with-tlib=ncursesw \
CC=musl-gcc
make -j$(nproc)
}
package() {
cd "${pkgname}-${pkgver}"
make DESTDIR="${PKGDIR}" install
ln -sf vim "${PKGDIR}/usr/bin/vi"
ln -sf vim "${PKGDIR}/usr/bin/view"
}