void-packages/common/hooks/pre-pkg
classabbyamp 479bef3b2f common: define meta-packages with metapackage=yes
Overloading `build_style` for meta-packages has always felt very hacky,
and it prevents having the main package be a meta-package (with non-meta
subpackages) and using a `build_style` at the same time (example of
trying to hack around that: 62c0c08e18).
It also can create confusion about how subpackages work if you can
define a `build_style` there (but only `meta`).

This makes using `build_style=meta` an error at the package and subpackage
level, and replaces it with a new variable (`metapackage=yes`).

A pkglint for non-empty meta-packages is also added.
2025-06-12 20:15:05 -04:00
..
.empty
03-rewrite-python-shebang.sh hooks/pre-pkg/03-rewrite-python-shebang.sh: rewrite plain python shebang 2025-04-01 09:49:29 -07:00
04-generate-provides.sh common/hooks/pre-pkg/04-generate-provides: make cmd: alt provides a pkgver 2025-05-08 14:14:01 -04:00
04-generate-runtime-deps.sh common/hooks/pre-pkg/04-generate-runtime-deps: use 3rd shlibs field 2025-05-25 12:16:28 -04:00
05-generate-32bit-runtime-deps.sh common: move handling of rdeps, shlib-provides, shlib-requires files 2024-12-10 08:31:36 -05:00
06-verify-python-deps.sh common/hooks/pre-pkg/06-verify-python-deps: check for noverifypydeps 2024-12-17 09:47:29 -05:00
90-set-timestamps.sh common: replace XBPS_COMMIT_TIMESTAMP by SOURCE_DATE_EPOCH 2016-03-01 18:27:49 +01:00
99-pkglint-subpkgs.sh 99-pkglint-subpkgs: replace grep with case..esac 2020-12-29 22:46:59 -08:00
99-pkglint.sh common: define meta-packages with metapackage=yes 2025-06-12 20:15:05 -04:00
999-collected-rdeps.sh common: move handling of rdeps, shlib-provides, shlib-requires files 2024-12-10 08:31:36 -05:00