pacman/scripts/libmakepkg
Eli Schwartz 0bf4779cda makepkg: make per-package files containing '$pkgname' consistently work
Extracting function variables containing arbitrarily scoped variables of
arbitrary nature is a disaster, but let's at least cover the common case
of using the actual '$pkgname' in an install/changelog file. It's the
odd case of actually being basically justified use of disambiguating
between the same variable used in multiple different split packages...
and also, --printsrcinfo already uses and overwrites the variable
'pkgname' in pkgbuild_extract_to_srcinfo, so this "works" in .SRCINFO
but doesn't work in .src.tar.gz

It doesn't work in lint_pkgbuild either, but in that case the problem is
being too permissive, not too restrictive -- we might end up checking
the same file twice, and printing that it is missing twice.

Fixes FS#64932

Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
(cherry picked from commit d626a17ef9)
2020-06-18 01:43:04 -07:00
..
buildenv Update copyright years 2019-10-23 22:06:54 +10:00
executable Update copyright years 2019-10-23 22:06:54 +10:00
integrity Update copyright years 2019-10-23 22:06:54 +10:00
lint_config Update copyright years 2019-10-23 22:06:54 +10:00
lint_package Update copyright years 2019-10-23 22:06:54 +10:00
lint_pkgbuild makepkg: make per-package files containing '$pkgname' consistently work 2020-06-18 01:43:04 -07:00
source makepkg: fix regression that broke extraction of file:// sources 2020-01-14 01:26:52 -08:00
tidy makepkg: fix one more file-seccomp issue 2020-01-09 23:29:14 -08:00
util Comma fail 2019-10-30 14:26:07 +10:00
.gitignore libmakepkg: fix .gitignore to simply ignore all generated .sh files 2017-12-07 15:37:20 +10:00
buildenv.sh.in Update copyright years 2019-10-23 22:06:54 +10:00
executable.sh.in Update copyright years 2019-10-23 22:06:54 +10:00
integrity.sh.in Update copyright years 2019-10-23 22:06:54 +10:00
lint_config.sh.in Update copyright years 2019-10-23 22:06:54 +10:00
lint_package.sh.in Update copyright years 2019-10-23 22:06:54 +10:00
lint_pkgbuild.sh.in Update copyright years 2019-10-23 22:06:54 +10:00
meson.build meson: remove useless mkdir -p 2018-12-12 10:12:41 +10:00
source.sh.in makepkg: fix regression that broke extraction of file:// sources 2020-01-14 01:26:52 -08:00
srcinfo.sh.in Update copyright years 2019-10-23 22:06:54 +10:00
tidy.sh.in Update copyright years 2019-10-23 22:06:54 +10:00
util.sh.in Update copyright years 2019-10-23 22:06:54 +10:00