mirror of https://github.com/CrimsonTome/tldr.git
26 lines
596 B
Markdown
26 lines
596 B
Markdown
# makepkg
|
|
|
|
> Creates a package installable with the `pacman` package manager.
|
|
> Runs the commands from a `PKGBUILD` file to build the package.
|
|
> More information: <https://man.archlinux.org/man/makepkg.8>.
|
|
|
|
- Make a package (run in the same directory as a `PKGBUILD`):
|
|
|
|
`makepkg`
|
|
|
|
- Make a package and install its dependencies:
|
|
|
|
`makepkg --syncdeps`
|
|
|
|
- Same as above, but install the package with `pacman` when done:
|
|
|
|
`makepkg --syncdeps --install`
|
|
|
|
- Make a package, but skip source checksums:
|
|
|
|
`makepkg --skipchecksums`
|
|
|
|
- Clean up work directories after a successful build:
|
|
|
|
`makepkg --clean`
|