Manual.md: fix instances of noarch=yes

This commit is contained in:
maxice8 2019-02-16 03:58:32 -02:00 committed by maxice8
parent 0f76ad0f76
commit 0d03347c7b

View file

@ -567,7 +567,7 @@ Example: `conf_files="/etc/foo.conf /etc/foo2.conf /etc/foo/*.conf"`.
- `noarch` If set, the binary package is not architecture specific and can be shared - `noarch` If set, the binary package is not architecture specific and can be shared
by all supported architectures. by all supported architectures.
> NOTE: `noarch` is deprecated and must be replaced by `archs=` > NOTE: `noarch` is deprecated and must be replaced by `archs=noarch`
- `repository` Defines the repository in which the package will be placed. See - `repository` Defines the repository in which the package will be placed. See
*Repositories* for a list of valid repositories. *Repositories* for a list of valid repositories.
@ -835,9 +835,9 @@ can be used to pass arguments during compilation. If your package does not make
extensions consider using the `gem` build style instead. extensions consider using the `gem` build style instead.
- `gem` For packages that are installed using gems from [RubyGems](https://rubygems.org/). - `gem` For packages that are installed using gems from [RubyGems](https://rubygems.org/).
The gem command can be overridden by `gem_cmd`. `noarch` is set unconditionally and `distfiles` The gem command can be overridden by `gem_cmd`. `archs` is set to `noarch` unconditionally
is set by the build style if the template does not do so. If your gem provides extensions which and `distfiles` is set by the build style if the template does not do so. If your gem
must be compiled consider using the `gemspec` build style instead. provides extensions which must be compiled consider using the `gemspec` build style instead.
- `ruby-module` For packages that are ruby modules and are installable via `ruby install.rb`. - `ruby-module` For packages that are ruby modules and are installable via `ruby install.rb`.
Additional install arguments can be specified via `make_install_args`. Additional install arguments can be specified via `make_install_args`.
@ -1284,7 +1284,7 @@ type used to split architecture independent, big(ger) or huge amounts
of data from a package's main and architecture dependent part. It is up of data from a package's main and architecture dependent part. It is up
to you to decide, if a `-data` subpackage makes sense for your package. to you to decide, if a `-data` subpackage makes sense for your package.
This type is common for games (graphics, sound and music), part libraries (CAD) This type is common for games (graphics, sound and music), part libraries (CAD)
or card material (maps). Data subpackages are almost always `noarch=yes`. or card material (maps). Data subpackages are almost always `archs=noarch`.
The main package must then have `depends="${pkgname}-data-${version}_${revision}"`, The main package must then have `depends="${pkgname}-data-${version}_${revision}"`,
possibly in addition to other, non-automatic depends. possibly in addition to other, non-automatic depends.
@ -1411,7 +1411,7 @@ The following variables influence how Haskell packages are built:
Font packages are very straightforward to write, they are always set with the Font packages are very straightforward to write, they are always set with the
following variables: following variables:
- `noarch=yes`: Font packages don't install arch specific files. - `archs=noarch`: Font packages don't install arch specific files.
- `depends="font-util"`: because they are required for regenerating the font - `depends="font-util"`: because they are required for regenerating the font
cache during the install/removal of the package cache during the install/removal of the package
- `font_dirs`: which should be set to the directory where the package - `font_dirs`: which should be set to the directory where the package
@ -1448,7 +1448,7 @@ the source of those patches/files.
pkgname=$pkgname pkgname=$pkgname
version=$version version=$version
revision=$((revision + 1)) revision=$((revision + 1))
noarch=yes archs=noarch
build_style=meta build_style=meta
short_desc="${short_desc} (removed package)" short_desc="${short_desc} (removed package)"
license="metapackage" license="metapackage"