This repository contains a shell script (vim-build.sh) that automates the process of downloading, building, packaging, and optionally installing Vim from its GitHub source.
- Automatic Tag Retrieval: If no tag is provided, the script fetches the latest Vim tag from GitHub.
- Custom Build: Configures and builds Vim with user-defined
./configureoptions. - Optional Deb Package Creation: Creates a Debian package if the
--create-deboption is specified. - Optional Installation: If the
--installoption is specified, the generated Debian package is automatically installed viasudo apt install.
gitmakedpkg-debsudoprivileges (for installation)
./vim-build.sh [--install] [--tag <tag>] [--config "<configure options>"] [--create-deb]--install: Installs the generated Debian package (requires--create-debto be specified).--tag <tag>: Specifies the Vim version tag to build. If omitted, the latest tag is used.--config "<configure options>": Custom./configureoptions for building Vim.--create-deb: Creates a Debian package for the built Vim.
# Build Vim with default options, create a Debian package, and install it
./vim-build.sh --create-deb --install