1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/linux/makepkg.md

34 lines
714 B
Markdown
Raw Normal View History

2020-07-05 15:46:19 -05:00
# makepkg
2021-12-05 21:31:22 +00:00
> Create a package which can be used with `pacman`.
> Uses the `PKGBUILD` file in the current working directory by default.
> More information: <https://manned.org/makepkg.8>.
2020-07-05 15:46:19 -05:00
2021-12-05 21:31:22 +00:00
- Make a package:
2020-07-05 15:46:19 -05:00
`makepkg`
- Make a package and install its dependencies:
`makepkg --syncdeps`
2021-12-05 21:31:22 +00:00
- Make a package, install its dependencies then install it to the system:
2020-07-05 15:46:19 -05:00
`makepkg --syncdeps --install`
2021-12-05 21:31:22 +00:00
- Make a package, but skip checking the source's hashes:
2020-07-05 15:46:19 -05:00
`makepkg --skipchecksums`
2021-09-16 22:27:17 +03:00
- Clean up work directories after a successful build:
`makepkg --clean`
2021-12-26 15:58:12 +00:00
- Verify the hashes of the sources:
`makepkg --verifysource`
- Generate and save the source information into `.SRCINFO`:
2021-12-26 15:58:12 +00:00
`makepkg --printsrcinfo > .SRCINFO`