doc/PKGBUILD: update regarding versioned package fields
Add the info that versioned replaces are now supported, as well as beefing up some of the other places touching on versioned fields. Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
6cfc4757b9
commit
2a466c2abc
|
@ -178,18 +178,19 @@ disables auto detection.
|
||||||
*conflicts (array)*::
|
*conflicts (array)*::
|
||||||
An array of packages that will conflict with this package (i.e. they
|
An array of packages that will conflict with this package (i.e. they
|
||||||
cannot both be installed at the same time). This directive follows the
|
cannot both be installed at the same time). This directive follows the
|
||||||
same format as depends. Versioned conflicts are also supported.
|
same format as depends. Versioned conflicts are supported using the
|
||||||
|
operators as described in `depends`.
|
||||||
|
|
||||||
*provides (array)*::
|
*provides (array)*::
|
||||||
An array of ``virtual provisions'' this package provides. This allows
|
An array of ``virtual provisions'' this package provides. This allows
|
||||||
a package to provide dependencies other than its own package name. For
|
a package to provide dependencies other than its own package name. For
|
||||||
example, the dcron package can provide 'cron', which allows packages to
|
example, the dcron package can provide 'cron', which allows packages to
|
||||||
depend on 'cron' rather than 'dcron OR fcron'.
|
depend on 'cron' rather than 'dcron OR fcron'.
|
||||||
Versioned provisions are also possible, in the 'name=version' format.
|
+
|
||||||
For example, dcron can provide 'cron=2.0' to satisfy the 'cron>=2.0'
|
Versioned provisions are also possible, in the 'name=version' format. For
|
||||||
dependency of other packages. Provisions involving the `>` and `<`
|
example, dcron can provide 'cron=2.0' to satisfy the 'cron>=2.0' dependency of
|
||||||
operators are invalid as only specific versions of a package may be
|
other packages. Provisions involving the `>` and `<` operators are invalid as
|
||||||
provided.
|
only specific versions of a package may be provided.
|
||||||
+
|
+
|
||||||
If the provision name appears to be a library (ends with .so), makepkg will
|
If the provision name appears to be a library (ends with .so), makepkg will
|
||||||
try to find the library in the built package and append the correct
|
try to find the library in the built package and append the correct
|
||||||
|
@ -199,9 +200,11 @@ version. Appending the version yourself disables auto detection.
|
||||||
An array of packages this package should replace. This can be used
|
An array of packages this package should replace. This can be used
|
||||||
to handle renamed/combined packages. For example, if the 'j2re' package
|
to handle renamed/combined packages. For example, if the 'j2re' package
|
||||||
is renamed to 'jre', this directive allows future upgrades to continue
|
is renamed to 'jre', this directive allows future upgrades to continue
|
||||||
as expected even though the package has moved. Sysupgrade is currently
|
as expected even though the package has moved. Versioned replaces are
|
||||||
the only pacman operation that utilizes this field, a normal sync will
|
supported using the operators as described in `depends`.
|
||||||
not use its value.
|
+
|
||||||
|
Sysupgrade is currently the only pacman operation that utilizes this field.
|
||||||
|
A normal sync or upgrade will not use its value.
|
||||||
|
|
||||||
*options (array)*::
|
*options (array)*::
|
||||||
This array allows you to override some of makepkg's default behavior
|
This array allows you to override some of makepkg's default behavior
|
||||||
|
|
Loading…
Reference in New Issue