Manual.md: make example templates more consistent with the common form.

- there is no space between the header and pkgname=
- pkgname= and version= shouldn't be quoted
- all shell wildcards must be quoted

[ci skip]
This commit is contained in:
maxice8 2018-05-15 17:28:06 -03:00 committed by Enno Boland
parent 021ade3182
commit 27c5d77aa5

View file

@ -61,7 +61,6 @@ A simple `template` example is as follows:
``` ```
# Template file for 'foo' # Template file for 'foo'
pkgname=foo pkgname=foo
version=1.0 version=1.0
revision=1 revision=1
@ -1043,9 +1042,8 @@ with this naming: `<subpkgname>_package()`, i.e:
``` ```
# Template file for 'foo' # Template file for 'foo'
pkgname=foo
pkgname="foo" version=1.0
version="1.0"
revision=1 revision=1
build_style=gnu-configure build_style=gnu-configure
short_desc="A short description max 72 chars" short_desc="A short description max 72 chars"
@ -1061,8 +1059,8 @@ foo-devel_package() {
depends="${sourcepkg}>=${version}_${revision}" depends="${sourcepkg}>=${version}_${revision}"
pkg_install() { pkg_install() {
vmove usr/include vmove usr/include
vmove usr/lib/*.a vmove "usr/lib/*.a"
vmove usr/lib/*.so vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig vmove usr/lib/pkgconfig
} }
} }