mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-09 18:55:53 +02:00
makepkg: add Chinese translation (#15398)
* makepkg: add zh translation * makepkg: revert link . * makepkg: sync link * Update pages.zh/linux/makepkg.md Co-authored-by: Jack Lin <blueskyson1401@gmail.com> * Update pages.zh/linux/makepkg.md Co-authored-by: Jack Lin <blueskyson1401@gmail.com> * Update pages.zh/linux/makepkg.md Co-authored-by: Jack Lin <blueskyson1401@gmail.com> --------- Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
This commit is contained in:
parent
3957935012
commit
a28cbb6f9d
1 changed files with 33 additions and 0 deletions
33
pages.zh/linux/makepkg.md
Normal file
33
pages.zh/linux/makepkg.md
Normal file
|
@ -0,0 +1,33 @@
|
|||
# makepkg
|
||||
|
||||
> 创建 `pacman` 可用的软件包。
|
||||
> 默认使用当前工作目录中的 `PKGBUILD` 文件。
|
||||
> 更多信息:<https://manned.org/makepkg.8>.
|
||||
|
||||
- 构建软件包:
|
||||
|
||||
`makepkg`
|
||||
|
||||
- 构建软件包并使用 `pacman` 安装缺失的依赖关系:
|
||||
|
||||
`makepkg --syncdeps`
|
||||
|
||||
- 构建软件包、安装缺失的依赖后将其安装到系统:
|
||||
|
||||
`makepkg --syncdeps --install`
|
||||
|
||||
- 构建软件包但不验证源文件的检验值:
|
||||
|
||||
`makepkg --skipchecksums`
|
||||
|
||||
- 编译后清理工作文件:
|
||||
|
||||
`makepkg --clean`
|
||||
|
||||
- 下载源文件(如果不存在)并进行完整性检查:
|
||||
|
||||
`makepkg --verifysource`
|
||||
|
||||
- 生成 `SRCINFO` 并写入到 `.SRCINFO` 文件:
|
||||
|
||||
`makepkg --printsrcinfo > .SRCINFO`
|
Loading…
Add table
Reference in a new issue