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
1 changed files with 4 additions and 6 deletions

View File

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