summaryrefslogtreecommitdiff
path: root/repo/extra/vim.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-01-16 01:23:51 +0000
committerdavidovski <david@davidovski.xyz>2022-01-16 01:23:51 +0000
commitcb447620084a20be80d116c81c2e9ec110be7118 (patch)
tree9fc0d714abbb5c6326b60616a5fd27ec9f984895 /repo/extra/vim.xibuild
parent153011e9129c6055ef21c48caf65a23e74a91418 (diff)
restructured repo system
Diffstat (limited to 'repo/extra/vim.xibuild')
-rw-r--r--repo/extra/vim.xibuild34
1 files changed, 0 insertions, 34 deletions
diff --git a/repo/extra/vim.xibuild b/repo/extra/vim.xibuild
deleted file mode 100644
index 27e04ad..0000000
--- a/repo/extra/vim.xibuild
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/bash
-
-DEPS=(gpm acl glibc libgcrypt pcre zlib)
-
-SOURCE=https://github.com/vim/vim.git
-DESC="Vi Improved"
-
-build () {
- echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h
- ./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 () {
- cat > vimrc << "EOF"
-" Begin /etc/vimrc
-" Ensure defaults are set before customizing settings, not after
-source $VIMRUNTIME/defaults.vim
-let skip_defaults_vim=1
-set nocompatible
-set backspace=2
-set mouse=
-syntax on
-if (&term == "xterm") || (&term == "putty")
- set background=dark
-endif
-" End /etc/vimrc
-EOF
- curl -sL https://davidovski.xyz/r/vim/vimrc >> vimrc
- mkdir -pv $PKG_DEST/etc
- cp -v vimrc $PKG_DEST/etc/vimrc
-}