common: merge only_for_archs and noarch=yes into one.
* noarch=yes is replaced with archs=noarch
* only_for_archs= is renamed to archs=
* archs= allows the use of wildcards and negations; first matching rule applies:
* archs="*-musl" will build the pkg only for musl-libcs
* archs="~*-musl" will build the pkg only on non-musl-libc
* archs="x86_64-musl ~*-musl" will build for x86_64-musl and any non-musl
arch.
* archs= defaults to "*"
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
# a package template and can also be used in subpkgs.
|
||||
|
||||
## VARIABLES
|
||||
unset -v noarch conf_files mutable_files preserve triggers alternatives
|
||||
unset -v conf_files mutable_files preserve triggers alternatives
|
||||
unset -v depends run_depends replaces provides conflicts tags
|
||||
|
||||
# hooks/post-install/03-strip-and-debug-pkgs
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
## VARIABLES
|
||||
unset -v pkgname version revision short_desc homepage license maintainer
|
||||
unset -v only_for_archs distfiles checksum build_style build_helper nocross broken
|
||||
unset -v archs only_for_archs distfiles checksum build_style build_helper nocross broken
|
||||
unset -v configure_script configure_args wrksrc build_wrksrc create_wrksrc
|
||||
unset -v make_build_args make_check_args make_install_args
|
||||
unset -v make_build_target make_check_target make_install_target
|
||||
|
||||
Reference in New Issue
Block a user