2020-07-05 21:46:19 +01:00
|
|
|
# makepkg
|
|
|
|
|
|
|
|
> Creates a package installable with the `pacman` package manager.
|
2021-05-20 21:13:41 +01:00
|
|
|
> 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
|
|
|
|
2021-05-20 21:13:41 +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`
|