Translations:Create Manjaro Packages/48/en
Views
Actions
Namespaces
Variants
Tools
The final step is to put the compiled files in a directory where makepkg can retrieve them to create a package. This by default is the pkg
directory—a simple fakeroot environment. The pkg
directory replicates the hierarchy of the root file system of the software's installation paths. If you have to manually place files under the root of your filesystem, you should install them in the pkg
directory under the same directory structure. For example, if you want to install a file to /usr/bin
, it should instead be placed under $pkgdir/usr/bin
. Very few install procedures require the user to copy dozens of files manually. Instead, for most software, calling make install
will do so. The final line should look like the following in order to correctly install the software in the pkg
directory: