Include:Abuild

From Alpine Linux
Revision as of 14:25, 19 November 2023 by WhyNotHugo (talk | contribs) (De-duplicate options and commands. They are already listed in the man page, no point in duplicating things here.)

To build a package, abuild is used. Besides the package building functionality, options for other package maintainance 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.

See also