tldr/pages/linux/makepkg.md

26 lines
596 B
Markdown
Raw Normal View History

2020-07-05 21:46:19 +01:00
# makepkg
> Creates a package installable with the `pacman` package manager.
> Runs the commands from a `PKGBUILD` file to build the package.
2021-09-16 20:27:17 +01:00
> More information: <https://man.archlinux.org/man/makepkg.8>.
2020-07-05 21:46:19 +01:00
- Make a package (run in the same directory as a `PKGBUILD`):
2020-07-05 21:46:19 +01:00
`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`
2021-09-16 20:27:17 +01:00
- Clean up work directories after a successful build:
`makepkg --clean`