PKGBUILD.vim is a Vim plugin which helps editing and working with PKGBUILD files.
A PKGBUILD is an Arch Linux package build description file (actually it is a shell script) used when creating packages.
This plugin follows the standard runtime path structure, and as such it can be installed with a variety of plugin managers:
- Pathogen
git clone https://github.com/Firef0x/PKGBUILD.vim.git ~/.vim/bundle/PKGBUILD.vim/
- NeoBundle
NeoBundle 'Firef0x/PKGBUILD.vim'
- Vundle
Plugin 'Firef0x/PKGBUILD.vim'
orBundle 'Firef0x/PKGBUILD.vim'
- AUR
- Add Firef0x's Arch Linux Repository and
pacman -S vim-pkgbuild
or yaourt -S vim-pkgbuild
orpacker -S vim-pkgbuild
or- using
makepkg
to build the package and install - Manual
- Copy all of the files into your
~/.vim
directory
Some useful commands:
- :UpdPkgSums or :UPS
- execute
updpkgsums
to update the md5sums/sha1sums/... in the current PKGBUILD, required package pacman>=4. - :MkAurBall or :MAB
- execute
mkaurball
to make the AUR package for submission to Arch User Repository, required package pkgbuild-introspection or pkgbuild-introspection-git. - :MkAurBallForce or :MAF
- execute
mkaurball -f
to force to make the AUR package for submission to Arch User Repository, required package pkgbuild-introspection or pkgbuild-introspection-git.
This is a modification of PKGBUILD in Vim Scripts. Original Maintainer is Nikolai Weibull.
Latest syntax file and PKGBUILD template are grabbed from project Pacman . Original Maintainer is Alessio 'mOLOk' Bolognino.
It seems that the project has to be released under GNU GENERAL PUBLIC LICENSE Version 2 which is inherited from project Pacman.