Include:Abuild

From Alpine Linux
Revision as of 14:34, 19 November 2023 by WhyNotHugo (talk | contribs) (Tidy up the whole page)

To build a package the abuild command is used. It implements functionality for building packages as well as additional commands and options for package maintenance.

Prerequisites

In order to use abuild:

Basic usage

If you just want to build a package from an APKBUILD file, only two command are needed. Both commands operate on an APKBUILD file in the current directory, so you should cd into the directory before running them.

  • abuild checksum: updates the checksums for source files.
  • abuild -r: builds the package.

Additionally, abump pkgname-pkgver is often used to update a package. abump will update the package's pkgver, rebuild it and create a new commit with the resulting changes.

The manual page (available via man abuild) describes all options and commands for abuild.

See also