Undertook code cleanup in bldpkg based on suggestions from shellcheck binary
Shellcheck suggestions aside, changes to bldpkg include:
-> Updated TODO list
-> Added set -e again
-> Replaced single-letter variables in runtime function with more sensible variable names
-> Restored man page compression and linking code from earlier bldpkg commits
-> Fixed code to move pkgconfig files from $pkg/share to $pkg/lib
Changes to bldpkg:
-> Added additional variables to be more verbose when showing either errors, warnings or info messages
-> Optimized find command options in various places
-> Discarded makepkg function and moved its code inside mkfinalpkg function
-> Discarded removestaticlibs function.
-> Static libraries are now compulsorily discarded unless preservestaticlibs variable is set near the top of the build file
-> Several smaller fixes
Made following changes to bldpkg:
* Introduced makepkg function to remove dependency on external base/pkgtools/makepkg script
* Simplified code inside applypatch function
* Added pigz and plzip parallel compressors inside pkgext case/esac
* Miscellaneous fixes
Changes to bldpkg:
* Fixed indentation in help usage function
* Fixed if/else code
* Added a check to cause bldpkg to fail if build validation function fails
* Simplified code for validating custom cpu flags
* Miscellaneous fixes
Changes to bldpkg:
-> Added code to validate hosts using netcat when distcc is enabled and also update DISTCC_HOSTS variable accordingly
-> Using subshell unnecessary; removed it from top and bottom of the file
-> Fixed wordings in help function
-> Simplified code for populating buildfile variable by discarding srcdirpath variable
-> Added required files to be checked when the build starts as an array
-> genchecksum function is now a variable
-> Added missing -j in customcputhreads variable; previously the value was ignored by MAKEFLAGS
-> Added missing '[ERROR]' word when validating build file
-> Added missing exit when auditd binary was not found
-> Added sleep when auditd log file exceeds certain lines
-> Added checks to exit build when sha512 checksums fail to match
-> Added checks and fixed code when working with patches
-> Discarded unnecessary double quotes in values inside validpkgextensions array
-> Fixed identation
* Added an if/else condition for adding package description correctly inside installpkg script, part of base/pkgtools
* Temporarily removed epiphany from net
Upgraded chrony to version 4.2 and fixed its runit build script
Replaced $ARCH variable with $arch to cause gmp and db builds in base srction to build correctly
Fixed descriptions in xcb-util-image and xcb-util-wm in xorg section
Removed drm option in xorg/mesa and added llvm as a dependency
* Cause perl compile to fail prematurely if /usr/local/include directory exists. This directory
is unfortunately a preset fallback directory searched by gcc for some rust applications that
otherwise fail to compile for want of gcc toolchain-specific C++ headers that are otherwise
present in standard locations
* Fixed net/mutt homepage URL
* Added code to validate app, version, homepage, download and desc variables
* Updated TODO
* Readjusted location of code that outputs current package being built
Readjusted description length in several packages in base section