makepkg - ArchWiki - Arch Linux
wiki.archlinux.org › title › MakepkgPackage output. By default, makepkg creates the package tarballs in the working directory and downloads source data directly to the src/ directory. Custom paths can be configured, for example to keep all built packages in ~/build/packages/ and all sources in ~/build/sources/ .