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:
parent
021ade3182
commit
27c5d77aa5
10
Manual.md
10
Manual.md
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user