pacman/scripts/libmakepkg
soloturn e017a5975c makepkg: Add GITFLAGS environmental variable to customise checkout
The default flag used to clone a git repository when using makepkg
is "--mirror". However, when working with huge repositories, the use
of different flags during cloning can allow an faster checkout. For
example, using "--filter=blob:none" allows for small checkouts, at
the expense of requiring downloads during the build stage if anything
but the HEAD commit is used for the build. In addition, this example
would serve as a replacement for the often requested (but broken)
addition of --depth=1.

Add support for the environment variable GITFLAG to pass flags for
the git clone command. Note that this overrides the default rather
than adding to it in order to prevent incompatibilities.
2022-07-29 11:00:01 +10:00
..
autodep libmakepkg/autodep: fix module name 2022-01-13 13:45:42 +10:00
buildenv debugflags: Ensure we have unique source paths 2022-06-25 10:45:04 +10:00
executable strip: Use debugedit instead of AWK to parse source files 2022-01-09 13:58:12 +10:00
integrity Update copyright years 2022-01-02 13:34:52 +10:00
lint_config Make link time optimization flags configurable 2022-03-06 14:45:36 +10:00
lint_package Update copyright years 2022-01-02 13:34:52 +10:00
lint_pkgbuild Update copyright years 2022-01-02 13:34:52 +10:00
reproducible Update copyright years 2022-01-02 13:34:52 +10:00
source makepkg: Add GITFLAGS environmental variable to customise checkout 2022-07-29 11:00:01 +10:00
tidy debugflags: Ensure we have unique source paths 2022-06-25 10:45:04 +10:00
util Update copyright years 2022-01-02 13:34:52 +10:00
.gitignore libmakepkg: fix .gitignore to simply ignore all generated .sh files 2017-12-07 15:37:20 +10:00
autodep.sh.in Update copyright years 2022-01-02 13:34:52 +10:00
buildenv.sh.in Update copyright years 2022-01-02 13:34:52 +10:00
executable.sh.in Update copyright years 2022-01-02 13:34:52 +10:00
integrity.sh.in Update copyright years 2022-01-02 13:34:52 +10:00
lint_config.sh.in Update copyright years 2022-01-02 13:34:52 +10:00
lint_package.sh.in Update copyright years 2022-01-02 13:34:52 +10:00
lint_pkgbuild.sh.in Update copyright years 2022-01-02 13:34:52 +10:00
meson.build libmakepkg: automatically add library sonames to provides 2021-12-29 15:20:05 +10:00
reproducible.sh.in Update copyright years 2022-01-02 13:34:52 +10:00
source.sh.in Update copyright years 2022-01-02 13:34:52 +10:00
srcinfo.sh.in Update copyright years 2022-01-02 13:34:52 +10:00
tidy.sh.in Update copyright years 2022-01-02 13:34:52 +10:00
util.sh.in Update copyright years 2022-01-02 13:34:52 +10:00