Include:Abuild: Difference between revisions

From Alpine Linux
(Move content into Abuild_and_Helpers.)
Tag: New redirect
(added back content and removed redirect to this Include page so this can be transcluded)
Tag: Removed redirect
 
Line 1: Line 1:
#REDIRECT [[Abuild_and_Helpers]]
If you just want to build a package from an [[APKBUILD Reference|APKBUILD]] file, only  two command are needed. Both commands operate on an APKBUILD file in the current directory, so you should <code>cd</code> into the directory before running them.
 
* <code>abuild checksum</code>: updates the checksums for source files.
* <code>abuild -r</code>: builds the package.
 
The [https://git.alpinelinux.org/abuild/tree/abuild.1.scd manual page] (available via <code>man abuild</code>) describes all options and commands for <code>abuild</code>.

Latest revision as of 16:55, 13 March 2025

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.

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