Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Yay first calls 'makepkg --nobuild -fC' to update the pkver. Later on we call 'makepkg -cf --noectract --noprepare --holdver' to actually build the package. Inbetween these two calls we keep the already extracted sources to save time on the reextract and duplicated call to prepare (pkgbuilds should not require user input but things such as linux-ck do and calling prepare twice will actually cause them to promt twice) We also have two checks. First we see if the package is already installed and up to date (--needed) and secondly we check if the package is already built. If any of these conditions are met we skip building the package. This leaves a dangling src/ directory as 'makepkg -c' was never ran. Now if these conditions are met tell makepkg to cleanup and exit.
- Loading branch information