[PATCH v3 compass-ci] doc/write-PKGBUILD: fix documentation errors

Signed-off-by: Lin Jiaxin <ljx.joe@qq.com> --- doc/manual/write-PKGBUILD.en.md | 5 +++-- doc/manual/write-PKGBUILD.zh.md | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/doc/manual/write-PKGBUILD.en.md b/doc/manual/write-PKGBUILD.en.md index c0c25e9..c259399 100644 --- a/doc/manual/write-PKGBUILD.en.md +++ b/doc/manual/write-PKGBUILD.en.md @@ -13,8 +13,9 @@ PKGBUILD includes variables and functions. - pkgrel: Mandatory. It indicates the release number of a software package. - arch: Mandatory. It indicates the architecture sequence of a software package. - depends: Optional. It indicates the name of the dependency package required for running a software test. -- makedepends: Optional. It indicates the list of files required for building a software package. -- source: Optional. It indicates the MD5 hash value of each source file to verify the integrity of the source file during the build process. +- makedepends: Optional. It indicates the name of the dependency package required for building a software package. +- source: Optional. It indicates the list of files required for building a software package. +- md5sums: Optional. It indicates the MD5 hash value of each source file to verify the integrity of the source file during the build process. ## Defining a Function diff --git a/doc/manual/write-PKGBUILD.zh.md b/doc/manual/write-PKGBUILD.zh.md index 414bfdc..ff53f0f 100644 --- a/doc/manual/write-PKGBUILD.zh.md +++ b/doc/manual/write-PKGBUILD.zh.md @@ -13,8 +13,9 @@ PKGBUILD包含两部分内容:变量和函数。 - pkgrel: 必须定义,表示软件包的发布号; - arch: 必须定义,表示软件包使用的架构序列; - depends: 可选字段,软件测试运行时需要的依赖包名称; -- makedepends: 可选字段,构建软件包时需要的文件列表; -- source: 可选字段,指定每个源文件的MD5哈希值,用于构建过程中验证源文件的完整性。 +- makedepends: 可选字段,构建软件包时需要的依赖包名称; +- source: 可选字段,构建软件包时需要的文件列表; +- md5sums: 可选字段,指定每个源文件的MD5哈希值,用于构建过程中验证源文件的完整性。 ## 定义函数 -- 2.23.0

严格来说,有些字段是 "conditional" 而非 "optional" 字段。 On Thu, Feb 04, 2021 at 12:13:33PM +0800, Lin Jiaxin wrote:
Signed-off-by: Lin Jiaxin <ljx.joe@qq.com> --- doc/manual/write-PKGBUILD.en.md | 5 +++-- doc/manual/write-PKGBUILD.zh.md | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/doc/manual/write-PKGBUILD.en.md b/doc/manual/write-PKGBUILD.en.md index c0c25e9..c259399 100644 --- a/doc/manual/write-PKGBUILD.en.md +++ b/doc/manual/write-PKGBUILD.en.md @@ -13,8 +13,9 @@ PKGBUILD includes variables and functions. - pkgrel: Mandatory. It indicates the release number of a software package. - arch: Mandatory. It indicates the architecture sequence of a software package. - depends: Optional. It indicates the name of the dependency package required for running a software test. -- makedepends: Optional. It indicates the list of files required for building a software package. -- source: Optional. It indicates the MD5 hash value of each source file to verify the integrity of the source file during the build process. +- makedepends: Optional. It indicates the name of the dependency package required for building a software package. +- source: Optional. It indicates the list of files required for building a software package. +- md5sums: Optional. It indicates the MD5 hash value of each source file to verify the integrity of the source file during the build process.
## Defining a Function
diff --git a/doc/manual/write-PKGBUILD.zh.md b/doc/manual/write-PKGBUILD.zh.md index 414bfdc..ff53f0f 100644 --- a/doc/manual/write-PKGBUILD.zh.md +++ b/doc/manual/write-PKGBUILD.zh.md @@ -13,8 +13,9 @@ PKGBUILD包含两部分内容:变量和函数。 - pkgrel: 必须定义,表示软件包的发布号; - arch: 必须定义,表示软件包使用的架构序列; - depends: 可选字段,软件测试运行时需要的依赖包名称; -- makedepends: 可选字段,构建软件包时需要的文件列表; -- source: 可选字段,指定每个源文件的MD5哈希值,用于构建过程中验证源文件的完整性。 +- makedepends: 可选字段,构建软件包时需要的依赖包名称; +- source: 可选字段,构建软件包时需要的文件列表; +- md5sums: 可选字段,指定每个源文件的MD5哈希值,用于构建过程中验证源文件的完整性。
## 定义函数
-- 2.23.0

On Fri, Feb 05, 2021 at 06:50:28PM +0800, Wu Fengguang wrote:
严格来说,有些字段是 "conditional" 而非 "optional" 字段。
got it Thanks, Jiaxin
On Thu, Feb 04, 2021 at 12:13:33PM +0800, Lin Jiaxin wrote:
Signed-off-by: Lin Jiaxin <ljx.joe@qq.com> --- doc/manual/write-PKGBUILD.en.md | 5 +++-- doc/manual/write-PKGBUILD.zh.md | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/doc/manual/write-PKGBUILD.en.md b/doc/manual/write-PKGBUILD.en.md index c0c25e9..c259399 100644 --- a/doc/manual/write-PKGBUILD.en.md +++ b/doc/manual/write-PKGBUILD.en.md @@ -13,8 +13,9 @@ PKGBUILD includes variables and functions. - pkgrel: Mandatory. It indicates the release number of a software package. - arch: Mandatory. It indicates the architecture sequence of a software package. - depends: Optional. It indicates the name of the dependency package required for running a software test. -- makedepends: Optional. It indicates the list of files required for building a software package. -- source: Optional. It indicates the MD5 hash value of each source file to verify the integrity of the source file during the build process. +- makedepends: Optional. It indicates the name of the dependency package required for building a software package. +- source: Optional. It indicates the list of files required for building a software package. +- md5sums: Optional. It indicates the MD5 hash value of each source file to verify the integrity of the source file during the build process.
## Defining a Function
diff --git a/doc/manual/write-PKGBUILD.zh.md b/doc/manual/write-PKGBUILD.zh.md index 414bfdc..ff53f0f 100644 --- a/doc/manual/write-PKGBUILD.zh.md +++ b/doc/manual/write-PKGBUILD.zh.md @@ -13,8 +13,9 @@ PKGBUILD包含两部分内容:变量和函数。 - pkgrel: 必须定义,表示软件包的发布号; - arch: 必须定义,表示软件包使用的架构序列; - depends: 可选字段,软件测试运行时需要的依赖包名称; -- makedepends: 可选字段,构建软件包时需要的文件列表; -- source: 可选字段,指定每个源文件的MD5哈希值,用于构建过程中验证源文件的完整性。 +- makedepends: 可选字段,构建软件包时需要的依赖包名称; +- source: 可选字段,构建软件包时需要的文件列表; +- md5sums: 可选字段,指定每个源文件的MD5哈希值,用于构建过程中验证源文件的完整性。
## 定义函数
-- 2.23.0
participants (2)
-
Lin Jiaxin
-
Wu Fengguang