Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

makepkg: add Chinese translation #15398

Merged
merged 6 commits into from
Jan 6, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions pages.zh/linux/makepkg.md
Original file line number Diff line number Diff line change
@@ -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