From 27c5d77aa5e15ab45fcae3e9a75916a639707a7e Mon Sep 17 00:00:00 2001 From: maxice8 Date: Tue, 15 May 2018 17:28:06 -0300 Subject: [PATCH] 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] --- Manual.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Manual.md b/Manual.md index c28c55f14ab..1403393ae19 100644 --- a/Manual.md +++ b/Manual.md @@ -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: `_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 } }