1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 12:42:07 +02:00
tldr/pages/linux/makepkg.md
2021-09-16 16:27:17 -03:00

596 B

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