From 003727289cc45e29eff0c0c48ad0f9660f96644f Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 16 Jan 2022 15:02:47 +0000 Subject: separated patch, build, check and package stages --- repo/util/vim.xibuild | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'repo/util/vim.xibuild') diff --git a/repo/util/vim.xibuild b/repo/util/vim.xibuild index 27e04ad..06c05a1 100644 --- a/repo/util/vim.xibuild +++ b/repo/util/vim.xibuild @@ -5,15 +5,19 @@ DEPS=(gpm acl glibc libgcrypt pcre zlib) SOURCE=https://github.com/vim/vim.git DESC="Vi Improved" -build () { +patch () { echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h +} + +build () { ./configure --prefix=/usr --disable-gtk-check --disable-motif-check --disable-athena-check --disable-gui --disable-xsmp --without-x -disable-canberra --disable-libsodium --disable-gpm --disable-libsodium make - make DESTDIR=$PKG_DEST install } package () { +make DESTDIR=$PKG_DEST install + cat > vimrc << "EOF" " Begin /etc/vimrc " Ensure defaults are set before customizing settings, not after -- cgit v1.2.1