diff options
author | davidovski <david@davidovski.xyz> | 2022-01-16 15:02:47 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-01-16 15:02:47 +0000 |
commit | 003727289cc45e29eff0c0c48ad0f9660f96644f (patch) | |
tree | 0fd7f0ac830dee29984262980b8c144e26aa09ba /repo/util/vim.xibuild | |
parent | d2d97f84d5c037d7a6b8db6c497a5987030b7335 (diff) |
separated patch, build, check and package stages
Diffstat (limited to 'repo/util/vim.xibuild')
-rw-r--r-- | repo/util/vim.xibuild | 8 |
1 files changed, 6 insertions, 2 deletions
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 |