makepkg-template.1: Clarify which file version-less markers use

The old text could be interpreted such that makepkg-template compares
the version numbers of the templates to find the most recent
one. Rephrase this to make it explicit that "$template_name.template" is
used.

Signed-off-by: Florian Pritz <bluewind@xinu.at>
This commit is contained in:
Wieland Hoffmann 2015-06-03 11:04:13 +02:00 committed by Allan McRae
parent 3d4529335c
commit 0f302df5ed

View file

@ -47,8 +47,8 @@ and end markers and the template code on the first run.
Template files should be stored in one directory and filenames should be Template files should be stored in one directory and filenames should be
"$template_name-$version.template" with a symlink "$template_name.template" "$template_name-$version.template" with a symlink "$template_name.template"
pointing to the most recent template. If the version is not set in the marker, pointing to the most recent template. If the version is not set in the marker,
'makepkg-template' will automatically use the most recent version of the 'makepkg-template' will automatically use the target of "$template_name.template",
template, otherwise the specified version will be used. This allows for easier otherwise the specified version will be used. This allows for easier
verification of untrusted PKGBUILDs if the template is trusted. You verify the verification of untrusted PKGBUILDs if the template is trusted. You verify the
non-template code and then use a command similar to this: non-template code and then use a command similar to this: