Include:Abuild: Difference between revisions
WhyNotHugo (talk | contribs) (De-duplicate options and commands. They are already listed in the man page, no point in duplicating things here.) |
WhyNotHugo (talk | contribs) m (Formatting) |
||
Line 1: | Line 1: | ||
To build a package, < | To build a package, <code>abuild</code> is used. Besides the package building functionality, options for other package maintenance tasks are also provided. | ||
If you just want to build a package from an [[APKBUILD Reference|APKBUILD]] file, only two command are needed. | If you just want to build a package from an [[APKBUILD Reference|APKBUILD]] file, only two command are needed. |
Revision as of 14:26, 19 November 2023
To build a package, abuild
is used. Besides the package building functionality, options for other package maintenance tasks are also provided.
If you just want to build a package from an APKBUILD file, only two command are needed.
First cd into the package directory (the directory with the APKBUILD file). Then run:
abuild checksum && abuild -r
To use the command above, you have to be in the abuild
group.
Also, if you haven't already, you will need to setup your abuild environment.
The manual page (available via man abuild
) describes all options and commands for abuild
.