The scripts and patches to build each package is licensed under the same license as the actual package.
Licenses for packages specified in the field "TERMUX_PKG_LICENSE" of build
script file (build.sh). For example, TERMUX_PKG_LICENSE="GPL-2.0"
means
that package is licensed under GNU GPL v2.0.
For build infrastructure outside the packages/
folder the license is GNU GPL v3.0.