Linux command
PKGBUILD 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Build package
makepkg
Build and install
makepkg -si
Update checksums
updpkgsums
Check PKGBUILD
namcap PKGBUILD
说明
PKGBUILD is a shell script containing build instructions for Arch Linux packages. It defines metadata, sources, and functions for compiling and packaging software. Used by makepkg to create .pkg.tar.zst packages.
FAQ
What is the PKGBUILD command used for?
PKGBUILD is a shell script containing build instructions for Arch Linux packages. It defines metadata, sources, and functions for compiling and packaging software. Used by makepkg to create .pkg.tar.zst packages.
How do I run a basic PKGBUILD example?
Run `makepkg` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
Where can I find more PKGBUILD examples?
This page includes 4 examples for PKGBUILD, plus related commands for nearby Linux tasks.